Turkish PM Recep Tayyip Erdogan and his wife greet supporters in Ankara
Turkey's Prime Minister Recep Tayyip Erdogan has promised to build consensus with opposition parties, after securing a third term in office.
Preliminary results show Mr Erdogan's Justice and Development Party (AKP) won about 50% of seats in Sunday's vote, reports the BBC.
But the party failed to secure the two-thirds majority needed to make unilateral changes to the constitution.
Erdogan had widely been expected to win despite criticism from some of his authoritarian style of leadership.
With 99% of ballots counted the AKP had 50% of the vote, which local media said translated to 326 seats in parliament.
That is short of the 330-seat "super majority", which would have enabled the party to make constitutional changes without putting it to a public referendum.
The party won 341 seats in 2007.
Accepting his victory in Ankara, Erdogan said his party "will be humble".
"The people gave us a message to build the new constitution through consensus and negotiation," said the Prime Minister.
"We will be seeking consensus with the main opposition, the opposition, parties outside of parliament, the media, NGOs, with academics, with anyone who has something to say."
It did not take long for the count to show what everyone here had expected - another decisive victory for the governing Justice and Development Party (AKP). The result is a powerful endorsement of the blend of economic liberalism and religious conservatism offered by Prime Minister Recep Tayyip Erdogan. With this win, he is now the most powerful political figure in Turkey since the days of the country's founding father, Kemal Ataturk.
The main opposition party, the CHP, under its new leader, Kemal Kilicdaroglu, did offer a more appealing alternative for secular Turks than in previous elections. But it still got less than a quarter of the votes cast.
And in the south-east, there was a strong vote for Kurdish candidates, which will put pressure on Erdogan to make a more convincing effort to resolve the long-running conflict between the state and the large Kurdish minority.
Turkish voters have given Erdogan an impressive mandate. The question now is, what will he do with it? After his last election victory, he promised to be a bridge-builder, a Prime Minister for Turks from all walks of life. But in practice he proved to be an abrasive and divisive leader. His opponents will now be hoping he adopts a less confrontational style.
Erdogan said the AKP and others would write a "civilian, free constitution which embraces all parties of the society together".
He also alluded to Turkey's aspiration to be a voice in the West for the Middle Eastern region and Muslims, saying Bosnians, Lebanese, Syrians and Palestinians also benefited from his victory.
"Believe me, Sarajevo won today as much as Istanbul, Beirut won as much as Izmir, Damascus won as much as Ankara, Ramallah, Nablus, Jenin, the West Bank, Jerusalem won as much as Diyarbakir."
More than 50 million people, about two-thirds of Turkey's population of 73 million, were eligible to vote in Sunday's election. NTV television said turnout was 84.5%.