Nigar Goksel, the editor of a Turkish political magazine, told Al Jazeera: "The EU has been off the agenda for a while ... however, now it looks like the prime minister has put it back, high up on his agenda."
Two secularist parties also crossed the 10 per cent threshold to enter parliament, the Republican People's party (CHP) with about 20 per cent and the National Movement party (MHP) with 13 per cent.
No other party passed the threshold but 24 independent Kurdish candidates also won seats.
The CHP, which was set up by Kemal Ataturk, the founder of the Turkish republic, has become more inward looking over the years and is hostile to the idea of Turkey's membership of the European Union.
Cengiz Aktar, a political analyst, told Al Jazeera: "If Attaturk were alive today ... he wouldn't be very happy with the performance of his followers [in the CHP party]. His path was clearly a European path."
"He was clearly pro-European," he said.
The contest was viewed as pivotal in determining the balance between Islam and secularism in this nation of more than 70 million.
The result is a moral triumph for Erdogan who called early parliamentary polls after losing a battle with the establishment, which includes army generals, who did not want his ex-Islamist ally, Abdullah Gul, as head of state.
The army views itself as the ultimate guarantor of Turkey's secular state and has removed four cabinets from power in 50 years, most recently an Islamist-minded predecessor of the AK Party in 1997.
Source: Al Jazeera and agencies