Turkey's Prime Minister Ahmet Davutoglu
© Umit Bektas / Reuters
Turkish Prime Minister Ahmet Davutoglu has announced he will not stand for his party's chairmanship vote, and will therefore be replaced as prime minister, Anadolu news agency reports. It follows a reported rift between Davutoglu and President Erdogan.

Speaking at a news conference in Ankara following a meeting of the AK party's Central Executive Board (MYK), Davutoglu said he will not be part of the vote, which is due to take place on May 22.

"I decided that for the unity of the [ruling party] a change of chairman would be more appropriate. I am not considering running at the May 22 congress,'' Davutoglu said.

"I do not intend to be a candidate in an absence of consensus," he continued.

"I have no sense of failure or regrets in taking this decision." He added that the resignation was not "my choice but a necessity."

President Tayyip Erdogan has acknowledged the announcement, saying "it is the prime minister's own decision," Hurriyet reported.

The announcement comes after crisis talks between the two politicians on Wednesday night, which dragged out for nearly two hours but failed to resolve their differences.

In a Thursday speech defending his record as prime minister, Davutoglu said he had kept the party and government running smoothly during a rocky period in Turkey. He said that no one should worry, because the "strong" AKP government would continue.

It comes just one day after five senior party officials told Reuters that the AKP was set to replace Davutoglu as its leader - and therefore as prime minister - at an extraordinary congress following a feud with Erdogan.

However, Davutoglu said on Thursday that he will never utter an ill word against Erdogan, whose friendship he has valued above all, Reuters reported.

"I feel no reproach, anger or resentment against anyone,'' Davutoglu said.

Divisions between Davutoglu and Erdogan began over the conflict with Kurdish militants in the country's southeast. While Davutoglu spoke of the possibility of resuming peace talks with the Kurdistan Workers' Party (PKK) if it withdrew armed fighters from Turkish territory, Erdogan said it was out of the question for the peace process to restart.

Further disagreements took place after Davutoglu expressed opposition to the pre-trial detention of journalist accused of spying and academics accused of voicing support for the PKK.

Davutoglu says he will continue to carry out his duties as a parliamentary deputy for Konya in central Anatolia after he leaves office.

The May 22 extraordinary congress will be the party's first since August 2014, when Davutoglu replaced Erdogan as prime minister.