The constitution of the Islamic Republic of Pakistan barred non-Muslims from the presidency.