 In elections held on 17 November 2005 Mahinda Rajapakse was elected President after defeating Ranil Wickremasinghe by a mere 180,000 votes.He appointed Ratnasiri Wickremanayake Prime Minister and Mangala Samaraweera Foreign Minister.Negotiations with the LTTE stalled and low-intensity conflict began.