ATHENS (AFP) - Greece's parliament on Thursday passed legislation on a second batch of reforms needed to help unlock a huge international bailout for the country's stricken economy.
The bill passed by a resounding 230 votes out of the 298 members of parliament present, after a marathon debate stretching into the early hours that nonetheless exposed deep divisions in the governing Syriza party.
The legislation covers changes to the civil justice system, a bank deposit protection scheme and measures to shore up the liquidity of Greece's banks - reforms that had to pass if Athens was to move forward in bailout negotiations with its creditors.
While the new law will come as a relief to Prime Minister Alexis Tsipras - who is negotiating a new bailout worth up to 86 billion euros (S$129 billion) over three years - it saw him suffer a major rebellion amongst MPs in his leftist Syriza party for the second time in a week.
Thursday's vote was seen as a key test of Mr Tsipras' authority after he was forced to reshuffle his cabinet following a mutiny by nearly a fifth of his MPs in a separate vote on the first tranche of tough economic reforms demanded by Athens' creditors.
While the prime minister trimmed the rebellion from 39 'no' votes and abstentions last week to 36 on Thursday, in both cases he was forced to rely on opposition parties to get the legislation passed.
Government spokeswoman Olga Gerovassili admitted the government was facing a "political problem" and said "planned procedures" would be implemented to address it.
"The divide in the parliamentary majority is clear," she told reporters after the vote.
While Mr Tsipras is riding high in the opinion polls personally, analysts believe the deep divisions within Syriza are likely to force the government to call early elections after being voted into power at the beginning of the year.
The tough reform package sparked five hours of fiery debate on Wednesday night, with weary lawmakers clashing on everything from Marxism to submarines as dawn neared, and the speaker of parliament comparing the bailout deal to "a coup".
In a passionate speech to the chamber, Mr Tsipras insisted the deal was the result of a "difficult compromise" with Greece's paymasters - the European Union, European Central Bank and International Monetary Fund - necessary to prevent Greece from tumbling out of the eurozone.
The youthful premier, who blazed to power in January promising to end austerity, warned that Greece had to adapt to "the new realities" of the bailout agreement.
"The painful path does not stop here, unfortunately," he said.
"We have been forced to make a difficult compromise under urgent conditions. We were at the limits of our economy and our banking system, and at the limits of Europe - where conservative forces, obsessed with austerity, dominate," he added.
Some 6,000 anti-austerity demonstrators had protested near parliament ahead of Wednesday night's debate, lobbing a handful of petrol bombs in the direction of the police, who had thrown up a ring of steel around the building after riots during last week's vote on austerity measures.
Katerina and George Sergidou Kokkinavis, two Syriza members in their thirties taking part in the protest, said they had come because "the government is no longer listening to the people".
Mr Tsipras was forced to reshuffle his cabinet last week, having sacked three ministers for voting against the first bailout bill.
Government spokeswoman Gerovassili previously said the administration had "no intention" of calling early polls, and Mr Tsipras told parliament on Thursday that he would keep fighting for Greece's best interests, adding he would not "voluntarily abandon" the job.
"The left's presence in government is a bastion for the defence of the interests of the people," he said. "We will not be cowards. We will fight the battles we face with determination."
Gerovassili said negotiations with Greece's creditors would resume immediately after Thursday's vote.
The EU's Economic Affairs Commissioner Pierre Moscovici said they were aiming to finalise the deal by mid-August.
Both sides are under huge pressure to finalise the terms of the rescue before August 20, when Greece owes the ECB a loan repayment of 3.2 billion euros it cannot afford.