Since secularism is enshrined in the constitution of Turkey, various openly Islamist political parties, such as the National Order Party, the National Salvation Party, the Welfare Party and eventually the Virtue Party were closed down by the Constitutional Court for anti-secular activities. That contributed to the subsequent abandonment of an openly Islamist ideology in favour of a reformed, pro-secular conservative democratic ideal that would be accepted by the state. A closure case against the AKP in 2008 on the grounds that the party violated secularism thereby failed, but the party was stripped of 50% of its state funding.