Secularists opposed Gul 's candidacy and accused the Islamist-rooted A.K. Party of attempting to undermine Turkey 's secular order .