Turkey's governing AK party has lost its parliamentary majority for the first time in 13 years, near-complete election results show.
The surprise outcome also sees the pro-Kurdish HDP crossing the 10 percent threshold, securing seats for the first time.
With 99 percent of the vote counted, the AKP has 41 percent of the vote, state-run TRT television reports.
The result is a blow to President Recep Tayyip Erdogan's plans to boost his office's powers.
President Erdogan, who first came to power as prime minister in 2003, had been seeking a two-thirds majority to turn Turkey into a presidential republic.
Prime Minister Ahmet Davutoglu appeared to have accepted the results. "The people's decision is the most correct decision," he said while preparing to fly from his hometown of Konya to the capital, Ankara.
Sunday's election has produced an extraordinary result and represents a major change in Turkish politics, the BBC's Mark Lowen said.
The party that once seemed unstoppable for 13 years under Mr Erdogan may now struggle to form a government.
The AKP looks likely to win 258 seats in parliament, 18 fewer than it requires for a majority, foricing it to form a minority government or enter into a coalition.
Our correspondent says that there is now a subdued and glum atmosphere at the Justice and Development Party (AKP) headquarters in contrast to a sense of jubilation among HDP supporters at news that their party had won around 13% of the vote and would enter parliament for the first time.
"This was a victory of democracy over political corruption... of peace over war," HDP deputy Sirri Sureyya Onder said.
The HDP's leader ruled out a coalition with the AKP on Sunday, pointing out that the election results had put an end to discussions about a presidential system.
"The discussion of executive presidency and dictatorship have come to an end in Turkey with these elections," Selahattin Demirtas told a news conference in Istanbul.
The HDP is projected to get between 75 to 80 seats after successfully attracting votes beyond its Kurdish support base.
The Republican People's Party (CHP) is set to be the second largest party, as in the previous parliament, with around 25 percent of the vote.
CHP Istanbul Chairman Murat Karayalcin said that results show a clear rejection by voters of Mr Erdogan's drive for greater powers.
"Voters said a clear no to the presidential system," Mr Karayalcin said.
- BBC