The 2014 constitution sets up a president and parliament. The president is elected to a four-year term and may serve 2 terms. The parliament may impeach the president. Under the constitution, there is a guarantee of equality between the sexes and an absolute freedom of belief, but Islam is the state religion. The military retains the ability to appoint the national Minister of Defense for the next 8 years. Under the constitution, political parties may not be based on "religion, race, gender or geography"; the law regarding Egyptian political parties that regulated the 2011-2012 parliamentary elections included a similar clause prohibiting religious parties, though it was not enforced. The document guarantees an absolute freedom of expression that is subject to broad exceptions.