Muslim residents of Israel and Palestinians living in East Jerusalem are normally allowed to enter the Temple Mount and pray at the al-Aqsa Mosque without restrictions. Due to security measures, the Israeli government occasionally prevents certain groups of Muslims from reaching al-Aqsa by blocking the entrances to the complex; the restrictions vary from time to time. At times restrictions have prevented all men under 50 and women under 45 from entering, but married men over 45 are allowed. Sometimes the restrictions are enforced on the occasion of Friday prayers, other times they are over an extended period of time. Restrictions are most severe for Gazans, followed by restrictions on those from West Bank. The Israeli government states that the restrictions are in place for security reasons.