Greece's parliament has voted to accept substantial economic reforms needed before the country can receive a fresh bailout worth as much as US$96 billion.
The heavily indebted country needs the bailout money to avoid bankruptcy and a 'Grexit' from the euro, but the reforms are extremely unpopular.
Many Greeks resent that European lenders are imposing such harsh, strict reforms on their pension and tax systems.
Protests in front of the Greek parliament building in Athens turned violent on Wednesday ahead of the vote. Protesters threw Molotov cocktails and police responded with tear gas.
For months, Prime Minister Alexis Tsipras and his Syriza party rallied against the reforms. But Tsipras was forced to accept them as the country tottered on the brink of bankruptcy.
Greece's parliament formally approved the following measures:
— Reform the tax code to raise additional revenue for the government. This will include raising sales taxes on restaurant meals and other items to 23 percent and eliminating tax discounts on popular Greek islands.
— Overhaul the pension system, which will include setting the standard retirement age at 67 to discourage people from retiring early.
— Safeguard the independence of the nation's statistics agency, the institution responsible for data tracking the nation's debt and economic growth.
–Implement rules to meet budget targets, which could require additional spending cuts.
Many Greeks who are opposed to the bailout say they would prefer to exit the eurozone and return to the old drachma currency rather than accept such harsh conditions.
Even Tsipras said he doesn't "believe in the measures that were imposed upon [Greece]", but said he would follow through on them to secure the bailout.
The parliament vote is only the first step before bailout money can flow again. On July 22, Greece's parliament will have to approve another round of reforms.
In addition, a handful of other eurozone countries, including Germany and Finland, also need approval from their parliaments to lend out more money.
Once all that is done, formal negotiations can truly begin on a $96 billion bailout program.
Meanwhile, the International Monetary Fund has raised serious questions about the new bailout, noting that lenders should consider monumental debt relief to help Greece.
The IMF had participated in the previous Greek bailouts, but is not directly lending money to Greece this time around after the country defaulted on two IMF debt payments over the last three weeks.
Eurozone nations, along with the European Central Bank and the IMF, have already loaned Greece roughly 233 billion euros ($255 billion) in rescue financing since 2010.
They are unwilling to lend Greece any more money without promises that it will get its financial house in order.