In April , a secularist campaign blocked the Islamist-rooted governing party of Prime Minister Recep Tayyip Erdogan from electing a member of his party as president .