Secularists opposed Gul 's candidacy for president , and they have accused the AK Party of attempting to undermine Turkey 's secular order .