After Pakistan's first ever general elections, the 1973 Constitution was created by an elected Parliament. The Constitution declared Pakistan an Islamic Republic and Islam as the state religion. It also stated that all laws would have to be brought into accordance with the injunctions of Islam as laid down in the Quran and Sunnah and that no law repugnant to such injunctions could be enacted. The 1973 Constitution also created certain institutions such as the Shariat Court and the Council of Islamic Ideology to channel the interpretation and application of Islam.