He was elected as President of Lithuania in 1998, defeating Artūras Paulauskas in the runoff, serving from then until 2003, when he ran for re-election, but was unexpectedly defeated by Rolandas Paksas.