Turkish president Recep Tayyip Erdogan (C), flanked by his wife Emine Erdogan (rear L), acknowledges supporters, during a rally, as he leaves after delivering a speech at the conservative Justice and Development Party (AKP) headquarters in Istanbul, on April 16, 2017, following the results of a nationwide referendum that will determine Turkey's future destiny.
Erdogan on April 16, 2017 hailed Turkey for making a "historic decision" as he claimed victory in the referendum on a new constitution expanding his powers. The "Yes" campaign to give Turkish President expanded powers won with 51.3 percent of the vote a tightly-contested referendum although the "No" camp had closed the gap, according to initial results. But Turkey's two main opposition parties said they would challenge the results. / AFP PHOTO / Bulent Kilic        (Photo credit should read BULENT KILIC/AFP/Getty Images)
PHOTO: BULENT KILIC/AFP/Getty Images
Turkish president Recep Tayyip Erdogan (C), flanked by his wife Emine Erdogan (rear L), acknowledges supporters, during a rally, as he leaves after delivering a speech at the conservative Justice and Development Party (AKP) headquarters in Istanbul, on April 16, 2017, following the results of a nationwide referendum that will determine Turkey's future destiny. Erdogan on April 16, 2017 hailed Turkey for making a "historic decision" as he claimed victory in the referendum on a new constitution expanding his powers. The "Yes" campaign to give Turkish President expanded powers won with 51.3 percent of the vote a tightly-contested referendum although the "No" camp had closed the gap, according to initial results. But Turkey's two main opposition parties said they would challenge the results. / AFP PHOTO / Bulent Kilic (Photo credit should read BULENT KILIC/AFP/Getty Images)
Now playing
02:35
Turkish President declares victory
US pastor Andrew Craig Brunson escorted by Turkish plain clothes police officers arrives at his house on July 25, 2018 in Izmir. - Turkey on July 15, 2018 moved from jail to house arrest US pastor Andrew Brunson who has spent almost two years imprisoned on terror-related charges, in a controversial case that has ratcheted up tensions with the United States. Andrew Brunson, who ran a protestant church in the Aegean city of Izmir, was first detained in October 2016 and had remained in prison in Turkey ever since. (Photo by - / AFP)        (Photo credit should read -/AFP/Getty Images)
PHOTO: AFP/Getty Images
US pastor Andrew Craig Brunson escorted by Turkish plain clothes police officers arrives at his house on July 25, 2018 in Izmir. - Turkey on July 15, 2018 moved from jail to house arrest US pastor Andrew Brunson who has spent almost two years imprisoned on terror-related charges, in a controversial case that has ratcheted up tensions with the United States. Andrew Brunson, who ran a protestant church in the Aegean city of Izmir, was first detained in October 2016 and had remained in prison in Turkey ever since. (Photo by - / AFP) (Photo credit should read -/AFP/Getty Images)
Now playing
00:43
Turkey rejects US pastor Brunson's release
PHOTO: Photo Illustration: Shutterstock/CNNMoney
Now playing
02:11
Trump threatens sanctions on Turkey over pastor
PHOTO: Planet Labs Inc.
Now playing
01:25
Satellite images show missile plant construction
Turkish flags flutter nest to a huge portrait of Turkey's President and leader of the Justice and Development Party (AKP) Recep Tayyip Erdogan as he gives a speech during an AKP pre-election rally in Yenikapi Square in Istanbul on June 17, 2018. - With a week to go to crucial Turkish elections, the leader of the AKP  and his main rival of the secular Republican People's Party (CHP) are trading blows in an unexpectedly bruising fight to win control of the country. (Photo by Aris MESSINIS / AFP)        (Photo credit should read ARIS MESSINIS/AFP/Getty Images)
PHOTO: ARIS MESSINIS/AFP/AFP/Getty Images
Turkish flags flutter nest to a huge portrait of Turkey's President and leader of the Justice and Development Party (AKP) Recep Tayyip Erdogan as he gives a speech during an AKP pre-election rally in Yenikapi Square in Istanbul on June 17, 2018. - With a week to go to crucial Turkish elections, the leader of the AKP and his main rival of the secular Republican People's Party (CHP) are trading blows in an unexpectedly bruising fight to win control of the country. (Photo by Aris MESSINIS / AFP) (Photo credit should read ARIS MESSINIS/AFP/Getty Images)
Now playing
03:32
The Erdogan effect: How one man shaped Turkey
Supporters of Turkey's President Recep Tayyip Erdogan listen as he addresses them outside his official residence in Istanbul, Sunday, June 24, 2018. Erdogan has claimed victory in critical elections based on unofficial results, securing an executive presidency with sweeping powers. (AP Photo/Lefteris Pitarakis)
PHOTO: Lefteris Pitarakis/AP
Supporters of Turkey's President Recep Tayyip Erdogan listen as he addresses them outside his official residence in Istanbul, Sunday, June 24, 2018. Erdogan has claimed victory in critical elections based on unofficial results, securing an executive presidency with sweeping powers. (AP Photo/Lefteris Pitarakis)
Now playing
02:35
Erdogan seeks to strengthen presidency with win
Turkey's President Recep Tayyip Erdogan delivers a statement on national television from his official residence in Istanbul, Sunday, June 24, 2018. Erdogan has claimed victory in critical elections based on unofficial results, securing an executive presidency with sweeping powers. (AP Photo/Lefteris Pitarakis)
PHOTO: Lefteris Pitarakis/AP
Turkey's President Recep Tayyip Erdogan delivers a statement on national television from his official residence in Istanbul, Sunday, June 24, 2018. Erdogan has claimed victory in critical elections based on unofficial results, securing an executive presidency with sweeping powers. (AP Photo/Lefteris Pitarakis)
Now playing
02:00
Erdogan declares victory in Turkish election
ISTANBUL, TURKEY - JUNE 17:  TurkeyÕs President Recep Tayyip Erdogan speaks to supporters during a AK Parti election rally on June 17, 2018 in Istanbul, Turkey.  Presidential candidates from all parties are holding campaign rallies across Turkey a week ahead of the countries June 24, parliamentary and presidential elections.  (Photo by Chris McGrath/Getty Images)
PHOTO: Chris McGrath/Getty Images Europe/Getty Images
ISTANBUL, TURKEY - JUNE 17: TurkeyÕs President Recep Tayyip Erdogan speaks to supporters during a AK Parti election rally on June 17, 2018 in Istanbul, Turkey. Presidential candidates from all parties are holding campaign rallies across Turkey a week ahead of the countries June 24, parliamentary and presidential elections. (Photo by Chris McGrath/Getty Images)
Now playing
03:17
Everything to know about Turkey's elections
ADANA, TURKEY - JUNE 01:  Leader of Turkey's Iyi (Good) Party and presidential candidate, Meral Aksener speaks to supporters at a rally on June 1, 2018 in Adana, Turkey. Meral Aksener and party members campaigned in Hatay, Adana and surrounding areas ahead of the June 24, 2018 parliamentary and presidential elections. Aksener is one of six candidates contesting the snap elections called by Turkey's President Recep Tayyip Erdogan.  (Photo by Chris McGrath/Getty Images)
PHOTO: Chris McGrath/Getty Images Europe/Getty Images
ADANA, TURKEY - JUNE 01: Leader of Turkey's Iyi (Good) Party and presidential candidate, Meral Aksener speaks to supporters at a rally on June 1, 2018 in Adana, Turkey. Meral Aksener and party members campaigned in Hatay, Adana and surrounding areas ahead of the June 24, 2018 parliamentary and presidential elections. Aksener is one of six candidates contesting the snap elections called by Turkey's President Recep Tayyip Erdogan. (Photo by Chris McGrath/Getty Images)
Now playing
03:02
Turkey's 'she wolf' promises change
erdogan
PHOTO: MALLO, CHARBEL/CNN
erdogan
Now playing
04:20
Erdogan: US Embassy move a huge mistake
ISTANBUL, TURKEY - NOVEMBER 16:  Mina Basaran attends the screening of 'Past Forward', a movie by David O. Russell presented by Prada on November 16, 2016 in Istanbul, Turkey.  (Photo by Levent Kulu/Getty Images for PRADA)
PHOTO: Levent Kulu/Getty Images for PRADA
ISTANBUL, TURKEY - NOVEMBER 16: Mina Basaran attends the screening of 'Past Forward', a movie by David O. Russell presented by Prada on November 16, 2016 in Istanbul, Turkey. (Photo by Levent Kulu/Getty Images for PRADA)
Now playing
00:51
Heiress reportedly dies in plane crash
daughter of turkey journalist jailed 2
PHOTO: CNN, Sanem Altan
daughter of turkey journalist jailed 2
Now playing
02:31
Turkey jails six journalists for life
TOPSHOT - Turkish troops advance near the Syria border at Hassa, Hatay province, on January 22, 2018, as part of the operation "Olive Branch", launched two days ago.
The operation aims to oust the People's Protection Units (YPG) militia, which Turkey considers to be a terror group, from its enclave of Afrin. / AFP PHOTO / BULENT KILIC        (Photo credit should read BULENT KILIC/AFP/Getty Images)
PHOTO: BULENT KILIC/AFP/Getty Images
TOPSHOT - Turkish troops advance near the Syria border at Hassa, Hatay province, on January 22, 2018, as part of the operation "Olive Branch", launched two days ago. The operation aims to oust the People's Protection Units (YPG) militia, which Turkey considers to be a terror group, from its enclave of Afrin. / AFP PHOTO / BULENT KILIC (Photo credit should read BULENT KILIC/AFP/Getty Images)
Now playing
02:50
Trump urged Turkey to de-escalate in Syria
Turkish soldiers look through the hatches and turrets of an infantry fighting vehicle (IFV) as they pass through the Bab al-Salamah border crossing between Syria and Turkey in the north of Aleppo province, on January 21, 2018.
Turkish troops and tanks entered northern Syria on January 21 in an offensive aimed at ousting the Kurdish Peoples' Protection Units (YPG), which Ankara considers a terror group, from the Afrin region bordering Turkey. / AFP PHOTO / Nazeer al-Khatib        (Photo credit should read NAZEER AL-KHATIB/AFP/Getty Images)
PHOTO: NAZEER AL-KHATIB/AFP/Getty Images
Turkish soldiers look through the hatches and turrets of an infantry fighting vehicle (IFV) as they pass through the Bab al-Salamah border crossing between Syria and Turkey in the north of Aleppo province, on January 21, 2018. Turkish troops and tanks entered northern Syria on January 21 in an offensive aimed at ousting the Kurdish Peoples' Protection Units (YPG), which Ankara considers a terror group, from the Afrin region bordering Turkey. / AFP PHOTO / Nazeer al-Khatib (Photo credit should read NAZEER AL-KHATIB/AFP/Getty Images)
Now playing
01:48
Tensions grow between the US, Turkey
A plume of smoke rises on the air from inside Syria, as seen from the outskirts of the border town of Kilis, Turkey, Saturday, Jan. 20, 2018. Turkish Prime Minister Binali Yildirim says Turkish jets have begun an aerial offensive against the Syrian Kurdish-held enclave of Afrin. Turkey's military fired into the enclave in north Syria for a second day on Saturday. (AP Photo/Lefteris Pitarakis)
PHOTO: AP Photo/Lefteris Pitarakis
A plume of smoke rises on the air from inside Syria, as seen from the outskirts of the border town of Kilis, Turkey, Saturday, Jan. 20, 2018. Turkish Prime Minister Binali Yildirim says Turkish jets have begun an aerial offensive against the Syrian Kurdish-held enclave of Afrin. Turkey's military fired into the enclave in north Syria for a second day on Saturday. (AP Photo/Lefteris Pitarakis)
Now playing
02:23
Rockets fired from Syria hit Turkey border
Syria's Little Turkey Arwa Damon pkg_00005020.jpg
Syria's Little Turkey Arwa Damon pkg_00005020.jpg
Now playing
02:31
Turkey helps rebuild Syrian town after ISIS

Story highlights

"This is a message to the world to shut up; Turkey is getting stronger," reveler says after President declares win

Voters were asked to endorse a reform package that would replace the current system of parliamentary democracy

(CNN) —  

Turkish President Recep Tayyip Erdogan and the country’s prime minister have declared victory in a Sunday referendum designed to hand Erdogan sweeping powers.

The Turkish Election Commission has yet to release its official results, and the opposition promised to contest at least a third of the votes cast. But according to the state-run Anadolu Agency, with 99.8% of the ballots counted, Erdogan appeared poised to win with 51.4% of voters casting ballots in his favor.

A total of 47.5 million votes were cast, Anadolu said.

Supreme Electoral Council President Sadi Guven also confirmed that the “yes” votes had prevailed, according to unofficial results. He said official results would arrive in about 10 days, after any objections had been considered.

Voters were asked to endorse an 18-article reform package put forward by the ruling Justice and Development Party that would replace the current system of parliamentary democracy with a powerful executive presidency.

“God willing, these results will be the beginning of a new era in our country,” Erdogan said at a news conference Sunday night, explaining that unofficial totals indicated the “yes” votes had prevailed in the referendum by about 1.3 million ballots, while Anadolu pegged it at closer to 1.14 million.

Several groups fighting in Syria tweeted their congratulations to Turkey, and according to Anadolu, Azerbaijani, Palestinian, Qatari, Pakistani, Hungarian, Macedonian, Saudi, Sudanese and Kenyan leaders passed along congratulatory messages to Turkey’s Foreign Ministry.

’This is a message to the world to shut up’

Turks celebrate at AKP headquarters in Ankara as the early results indicate a win for the "yes" ballots.
PHOTO: Kara Fox/CNN
Turks celebrate at AKP headquarters in Ankara as the early results indicate a win for the "yes" ballots.

Shortly before Prime Minister Binali Yıldırım declared a victory for Erdogan, thousands converged in celebration at the Ankara headquarters of the Justice and Development Party, or AKP, that Erdogan founded. The revelers danced, sang, chanted, lit flares, honked their car horns and waved Turkish flags along with white flags saying, “Evet” – Turkish for yes – which appeared to be the way the majority of voters cast their ballots.

Many in attendance saw the referendum’s result as an important message for the world, not just the nation. Wasin Yalcin, 24, said the vote represented “a new hope for us to get rid of foreign forces,” while Yusuf Basaran, 20, said he believed “Europe’s spine has cracked. This referendum will be the most effective thing in the rebirth of the Ottoman Empire.”

Added Aysel Can, a member of the AKP’s women’s branch, “For a strong Islamic state, for a strong Middle East, Turkey had to switch to this executive presidency system. This is a message to the world to shut up; Turkey is getting stronger. America has to know this, too. We are the voice, we are the ears, we are everything for the Middle East.”

Erdogan called Yıldırım and the leaders of the right-wing National Movement and Great Unity parties to offer “congratulations for the referendum victory” before the final vote tally was announced, according to Anadolu.

Yildirim later took the stage at AKP headquarters in Ankara to herald a win for the “yes” vote. He said those who voted yes and those who voted no remain one, and now the country will look to improve the economy, expedite development and fight its foreign and domestic enemies.

“No one should have an offended or broken heart,” the prime minister said. “There’s no stopping. We will continue our path. We will continue marching on from where we left.”

Partial recount coming?

01:36 - Source: CNN
Turkish referendum: A country divided

The opposition took issue with the results, saying the country’s electoral authority had decided to “change the rules in the middle of the game.” The High Electoral Board announced it would not accept ballots that were missing ballot commission stamps. But the board changed course after voting was underway, saying it would accept unstamped ballots “unless they are proven to have been brought from outside.”

The opposition said this would affect the legitimacy of the vote and called for a partial recount of about 37% of the votes, said Erdal Aksunger of the Republican People’s Party, or CHP. He left the door open to challenging a higher percentage of the ballots.

“The High Electoral Board has changed the rules after the voting started. There is a clear clause in electoral law saying unstamped ballots will be invalid and the High Electoral Board issued its notice in compliance with this law,” CHP deputy chairman Bulent Tezcan said.

Later, CHP leader Kemal Kılıcdaroglu said in a news conference, “On what grounds do you declare these valid? … You should not change the rules in the middle of the game. … This is not right. We will never accept this.”

Guven of the Supreme Electoral Council said the board has made similar decisions in the past. He said the board made the decision before results began coming in.

“Due to the complaints of non-stamped votes being given – with the request from the representative of AKP – our committee decided unless there is proof that they came from outside, we decided to accept non-stamped ballots and envelopes (as) valid,” he said.

Three killed on election day

Turkish President Recep Tayyip Erdogan casts his vote accompanied by his wife and grandchildren.
PHOTO: OZAN KOSE/AFP/AFP/Getty Images
Turkish President Recep Tayyip Erdogan casts his vote accompanied by his wife and grandchildren.

Erdogan, who cast his vote in Istanbul amid tight security, said he hoped Turks would make the “expected” choice.

Earlier in the day, three people were reported to have died after an exchange of gunfire near a polling station in the southeastern province of Diyarbakır.

A violent argument erupted at a polling place in the village of Yabanard. Two men, age 68 and 32, were shot after two families got into an argument, Anadolu reported.

As a minibus transported the wounded men to Siverek Public Hospital, it was attacked by people with guns and stones. Another villager was injured. All three victims, who shared the same last name, later died, the news agency reported.

If passed, the measures will represent the biggest constitutional upheaval in the country since its foundation in 1923 after the demise of the Ottoman Empire.

Related: Istanbul - a city divided ahead of referendum

They would cement Erdogan’s grip on a country whose divisions have deepened since a failed coup attempt in July that ended with the deaths of more than 250 people and led to the imposition of a fierce crackdown on dissent.

Those who support the reforms believe they will kick-start a lethargic economy and stabilize a nation dealing with the resurgence of a 30-year conflict with militants from the Kurdistan Workers’ Party. But opponents argue the proposals will lead to the formation of a constitutional dictatorship.

What does more power mean?

01:41 - Source: CNN
Turkish PM thanks voters after referendum

If Erdogan prevails in the official election results, his grip on power would be considerably tightened. Term limits for the presidency would be reset and, if he wins elections in 2019 and 2024, he could be in power until 2029.

Read: How Erdogan transformed Turkey’s democracy in a decade

After serving as prime minster for more than a decade, Erdogan became President in 2014. By little more than force of personality, he turned a largely ceremonial post into a vehicle of significant power.

He has initiated a widespread crackdown on opposition, which intensified after last year’s botched coup, for which he blamed US-based cleric Fethullah Gulen.

Critics say the clampdown has gone beyond the supporters of the coup and was designed to silence dissent in the run-up to the referendum.

The arrests of 47,155 government critics, academics, journalists, military officials and civil servants have drawn widespread international condemnation and strained Turkey’s relations with the European Union.

CNN’s Hande Atay Alam and Deborah Bloom contributed to this report.