ATHENS, Greece (AP) -- Greece's troubled left-wing government was seeking urgent relief from European lenders Thursday, after it pushed a harsh austerity package through parliament, triggering a revolt in the governing party and violent demonstrations in central Athens.
Finance ministers from countries using the euro currency were planning a conference call to consider rescue financing for Greece, while the European Central Bank will mull a request from Athens to increase emergency assistance to troubled Greek banks that have been closed since June 29.
The bill was the first step in meeting requirements for negotiations to start on a desperately needed third international bailout for Greece — a three-year 85 billion euros ($93 billion) package — that will prevent it from crashing out of Europe's common currency.
Prime Minister Alexis Tsipras and other eurozone leaders reached the deal after a marathon summit in Brussels last weekend, with Tsipras saying he had no option other than to accept the harsh terms offered by lenders to ensure his country's financial system didn't collapse.
"We had a very specific choice: A deal we largely disagreed with, or a chaotic default," he told parliament ahead of the post-midnight vote.
The country's lawmakers voted 229-64 to implement more austerity measures that include pension reforms and sweeping sales tax hikes. Approval came thanks to pro-European opposition parties who voted in favor, and in spite of deepening dissent within Tsipras' left-wing Syriza party.
Thirty-eight party lawmakers defied Tsipras — nearly one-in-four — by voting against or abstaining. They included Tsipras' powerful energy minister, the speaker of parliament, and Yanis Varoufakis, the former finance minister who headed Greece's bailout strategy until his replacement 10 days ago.
"The Greek parliamentary vote averts an immediate disorderly default and potential exit from the euro area, but risks remains elevated given Greece's weak institutions and substantial political scepticism on the bailout conditions," the Moody's credit ratings agency said.
The government described the vote as marking a "serious division" among its lawmakers, and indicated that dissenters in Tsipras' Cabinet would be swiftly replaced in a reshuffle.
"Today, Parliament took the first important step for the deal, voting for the difficult measures," government spokesman Gabriel Sakellaridis said.
"But the results of today's vote constitute a serious division in the unity of Syriza parliamentary group," he said. "The prime minister's and the government's priority is the successful conclusion of the agreement in the immediate future."
The vote came after more than two weeks of capital controls, with banks and the stock exchange shut since June 29 and ATM cash withdrawals limited to 60 euros per day.
Dangerously low on liquidity at banks and with the state practically out of cash, Greece desperately needs funds. It faces a Monday deadline to repay 4.2 billion euros ($4.6 billion) to the ECB, and is also in arrears on 2 billion euros to the IMF.
Greeks have seen a dramatic decline in living standards since the debt-plagued country lost market access in 2010 and had to impose severe spending cuts in exchange for bailout loans from eurozone countries and the International Monetary Fund.
Negotiations on the new bailout will take an estimated four weeks, leaving European finance ministers scrambling to find ways to get Athens some money sooner.
The European Commission has proposed giving Greece 7 billion euros in loans from a special fund overseen by all 28 EU nations so it can meet its upcoming debts.
Greeks have reacted with a combination of resignation, hope and anger.
"Now I think that things will turn out for the best, as long as those in power can act with good intentions, without corruption," said pensioner Giannis Filinis as he waited in a queue outside a bank to withdraw the maximum 120 euros for retirees without bank cards. "They should have controlled the situation and avoided bailouts, because we are the ones that have to pay for it now."
Before the austerity vote, some 12,000 demonstrators had gathered outside parliament in the biggest protest against the government since Tsipras won elections in late January. The rally turned violent when several hundred youths attacked police, torched cars, and smashed office displays.
Police said 37 people were detained and 16 arrested over the hour-long clashes that involved youths hurling rocks and petrol bombs outside parliament, and riot police responding with tear gas and baton charges.
Syriza won the January elections on a promise to end bailout austerity, and the government's acceptance of more cuts drew an angry reaction from many of its lawmakers — though none of the attacks were aimed at Tsipras.
Parliament speaker Zoe Konstantopoulou slammed the deal as a product of blackmail, describing the additional poverty it would cause as an act of "social genocide."