Turkish voters appeared Sunday to have approved constitutional changes that would greatly expand the powers of President Recep Tayyip Erdogan, though the country's main opposition party said it would call for a recount in up to 60 percent of the votes.
State-run Anadolu news agency said votes in favor of allowing 18 constitutional changes stood at 51.3 percent with 98 percent of ballots counted.
The changes would replace Turkey's parliamentary system of government with a presidential one and could see Erdogan remain in office until at least 2029.
Erdogan told reporters late Sunday that the "yes" side was ahead by approximately 1.3 million votes. The president struck a conciliatory tone, thanking all voters regardless of how they cast their ballots and calling the referendum a "historic decision"
Opinion polls had shown a narrow lead for a "yes" vote before Sunday's ballot, but the country's three largest cities - Istanbul, Ankara and Izmir - and the mainly Kurdish southeast looked set to vote "no".
The referendum has bitterly divided Turkey, and will affect the country's strained relations with the European Union.
Erdogan has insisted the changes are needed to amend the current constitution, which was written by generals following a military coup in 1980, to confront security and political challenges in Turkey and avoid fragile coalition governments of the past.
But critics say the move grants sweeping powers to Erdogan following a failed coup last July.
A statement on the High Electoral Board's website hours before polls closed said it would count ballots that had not been stamped by officials as valid unless they could be proved fraudulent.
That triggered strong criticism from the main opposition People's Republican Party, which said the decision caused a serious legitimacy problem in the referendum.
Erdal Aksunger, deputy chairman of the party, claimed "illegal acts" had been carried out in favour of the government in the referendum.
He said: "Since this morning, we have determined some 2.5 million problematic votes."
Devlet Bahceli, leader of the Nationalist Action Party, declared victory for the "yes" campaign, and said Turkish voters had chosen of their own free will.
He added the result was "a very important success; a win that makes neglect and denial impossible".
After casting his vote in a school near his home in Istanbul, Erdogan said: "God willing I believe our people will decide to open the path to much more rapid development.
"I believe in my people's democratic common sense."
Around 55 million people were eligible to vote in the referendum.
Under the proposals, the office of prime minister would be abolished, allowing the president to draft the budget, declare a state of emergency and issue decrees overseeing ministries without parliamentary approval.
The Associated Press contributed to this report.
Click for more from SkyNews.com.