TRIPOLI: The future of Libya’s internationally recognized government was uncertain Wednesday after Prime Minister Abdullah Al-Thani said he would resign, as fraught peace talks entered a second day.

It was unclear whether Thani planned to follow through on his vow, and a government spokesman said the premier had not stepped down. Thani made the resignation promise during an emotional live television appearance in which he faced a barrage of angry questions from citizens. The move added to the political chaos in Libya, as the country’s rival factions met for a second day of UN-sponsored peace talks in Geneva.

Thani faced questions in Tuesday’s program from Libyans blaming his government for the lack of basic services such as electricity and poor security in areas it controls.

“If my exit is the solution, then I announce it here,” Thani said during the talk show. “My resignation will be submitted to the Parliament on Sunday.”

Adding to the confusion, government spokesman Hatem El-Ouraybi said Thani’s promise had been conditional.

“The prime minister said during the interview that he would resign if people wanted him to, that’s it,” Ouraybi told AFP.

He said no resignation letter had yet been submitted to Parliament. “I don’t now have an answer to the question of whether it will be submitted on Sunday.”