Belgian Prime Minister Charles Michel has announced his resignation.
It comes less than two weeks after his main coalition partner quit in a row over migration, leaving him leading a minority government.
Prime Minister Michel, who took office in 2014, lost the backing of the New Flemish Alliance (N-VA) over his support for the UN migration pact.
The resignation comes two days after demonstrations against the pact in central Brussels descended into scuffles, with police forced to use tear gas and water cannon to restore order.
After a debate in parliament where opposition parties refused to lend their support to allow his government to keep working until legislative elections in May next year, Mr Michel announced he would quit.
"I have taken the decision to submit my resignation and it is my intention to go to see the king immediately," he said.
The Flemish nationalist N-VA, led by powerful Antwerp mayor Bart De Wever, had made political demands which Mr Michel judged "unacceptable" - notably on possible constitutional changes.
The non-binding UN accord, which would promote a common global approach to migrant flows, was initially supported by all four parties in Belgium's coalition.
But the N-VA changed its mind in late October and pulled out of the coalition the day before Mr Michel flew to Morocco to sign the deal.
In a statement tonight, Belgium’s King Philippe said he will hold consultations before deciding whether to accept the Prime Minister’s resignation.