Lebanon’s parliament has elected Michel Aoun as president, ending a political stand-off that has left the post empty for more than two years.
The Maronite Christian former general secured a majority when MPs met on Monday for their 46th attempt to choose a head of state.
Mr Aoun is backed by the powerful Shia Islamist group, Hezbollah.
His candidacy was blocked by the rival, Sunni-dominated Future Movement until a deal was struck earlier this month.
It will reportedly see the Future Movement’s leader, Saad Hariri, become prime minister.
The stalemate has paralysed Lebanon’s government, which is also struggling to deal with deep divisions over the five-year civil war in neighbouring Syria and the arrival of more than one million refugees.