Turkey's parliament has failed to elect its new speaker after two rounds of voting that were being watched for an early indication of the Turkish parties' strength in the coalition-building process.

Ismet Yilmaz, the ruling party's candidate and the defense minister in the outgoing government, came first with 256 votes in both rounds Tuesday, short of the minimum 367 votes required.

The speaker — who will lead Turkey's 550-seat parliament — is expected to be chosen in a final round of voting Wednesday when the candidate with the most votes will take the post.

The ruling Islamic-rooted Justice and Development Party came first in Turkey's June 7 elections, taking 258 seats but losing its majority, forcing it to seek a coalition partnership.