He was elected a member of the Turkish parliament for the "Refah Partisi" (RP, "the Welfare Party") from the Kayseri electoral district in 1991 and 1995. During these years, he made statements about the political system of Turkey that was designed by Mustafa Kemal Atatürk and the Turkish National Movement, which included "This is the end of the republican period" and "The secular system has failed and we definitely want to change it". These statements caused controversy when his candidacy for the 2007 presidential election was announced by Prime Minister Recep Tayyip Erdoğan.