Turkey will have a referendum on whether to greatly expand the powers of President Recep Tayyip Erdogan's office.

Turkey's parliament on Saturday approved a contentious constitutional reform package that paves the way for the vote.

The decision marks a victory for Mr Erdogan, a divisive but overall popular figure, who critics view as increasingly autocratic.

In an all-night session that ended early on Saturday, politicians voted in favour of a set of amendments presented by the ruling party, founded by Mr Erdogan.

The reform bill cleared the minimum threshold necessary to put the measures to a national referendum for final approval.

The vote took place with 488 parliamentarians in the 550-seat assembly in attendance, and 339 voted yes, 142 no, five cast empty ballots and two were ruled out as invalid.

Prime Minister Binali Yildirim celebrated the result saying the decision was now in the hands of the Turkish people who would make the right choice.

"Don't you ever doubt that the people will most certainly make the best decision regarding the constitutional reforms," he said.

"Our people will head to the polls, will vote with their hearts and minds and make the best choice for Turkey."

A public vote on the issue is expected as early as March 26, and no later than mid-April, according to officials of the ruling Justice and Development Party, or AKP.

In addition to changing the system of government, the reform bill would allow the president to keep ties with his party and restructure the nation's highest judicial body.

It increases the number of seats in the assembly to 600, lowers the minimum age of parliamentarians to 18 and foresees simultaneous parliamentary and presidential elections every five years.

Ruling party officials argue a strong presidency is needed for a strong Turkey capable of surmounting a broad array of internal and external security threats.

Opposition parties see the changes as a bid to cement the powers of Mr Erdogan, who has established a de-facto presidential system since coming into the office in 2014.

Some complained that restrictions on the press and intense pressure to toe the line had left no space for them to air their views.

Kemal Kilicdaroglu, head of the opposition Republican People's Party, condemned the outcome saying parliament had "handed over its own authority" and "betrayed" its history.

He vowed to lead a "struggle for democracy" to have the reforms rejected in the referendum.

Saturday's decision concludes almost two weeks of heated debates in the assembly, where parliamentarians traded insults and came to blows on more than one occasion.

The parliamentary vote comes six months after a violent attempt to unseat the Turkish president failed and ended with the masses rallying to defend him.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.