Greece’s left-wing prime minister, Alexis Tsipras, has narrowly won a confidence vote in parliament days after the governing coalition collapsed.
Mr Tsipras received the minimum 151 votes in Greece’s 300-seat legislature for his government to survive.
His term ends in October.
The deal calls for the young country to be renamed North Macedonia in exchange for Greece no longer blocking its path to Nato membership.