Iran's Islamic republic is in contrast to the semi-secular state of the Islamic Republic of Pakistan, where Islamic laws are technically considered to override laws of the state, though in reality their relative hierarchy is ambiguous. The Islamic Republic of Iran came into existence following the Iranian Revolution and a national referendum held on 1 April 1979.
Pakistan was the first country to adopt the adjective "Islamic" to modify its republican status under its otherwise secular constitution in 1956. Despite this definition the country did not have a state religion until 1973, when a new constitution, more democratic and less secular, was adopted. Pakistan only uses the "Islamic" name on its passports, visas and coins. Although Islamic Republic is specifically mentioned in the Constitution of 1973, all government documents are prepared under the name of the Government of Pakistan. The Constitution of Pakistan, part IX, article 227 says "All existing laws shall be brought in conformity with the Injunctions of Islam as laid down in the Quran and Sunnah, in this Part referred to as the Injunctions of Islam, and no law shall be enacted which is repugnant to such Injunctions". In 1974, Pakistan declared Ahmadis as being outside the pale of Islam through the 2nd Amendment. Since the 1980s under General Zia's dictatorship however Pakistan is said to have taken a definite theocratic color. 
Ankerl, Guy (2000). Global communication without universal civilization. INU societal research. Vol.1: Coexisting contemporary civilizations : Arabo-Muslim, Bharati, Chinese, and Western. Geneva: INU Press. ISBN2-88155-004-5.