 In elections in June and July 1997, Berisha and his party were voted out of power, and the leftist coalition headed by the Socialist Party won.The Socialist party elected Rexhep Meidani as President of the Albanian Republic.All UN forces left Albania by 11 August.