A majority of Haitian lawmakers have chosen the troubled country's Senate chief to lead a caretaker government that will fill the void left by the recent departure of former President Michel Martelly.

Senate leader Jocelerme Privert was elected as provisional president early Sunday after a plodding 10-hour session by Haiti's bicameral legislature.

He was one of three candidates vying for the job as powerbroker of an interim government that's only supposed to last 120 days.

Hours before his election, Privert vowed to lead an interim government that would "foster confidence within all sectors of society."

He aims to smooth political divisions that postponed a presidential and legislative runoff vote, leaving Haiti without an elected leader or a complete Parliament.