Shortly after leaving the EPA, Valdas Adamkus moved back to Lithuania. Soon after his decision to run for presidency in 1998, he faced a legal battle in the Lithuanian courts. Doubts arose whether Adamkus was eligible to run for presidency due to having spent over half a century abroad, raising the possibility that he might not meet minimum residency requirements. However, the court resolved the case in Adamkus' favor, and no other obstacles remained other than his U.S. citizenship, which he officially renounced at the American Embassy in Vilnius. 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.