The history of Pakistan encompasses the history of the region constituting modern Pakistan. Prior to independence in 1947, the of Pakistan was ruled in different periods by local kings and numerous imperial powers. The ancient history of the region comprising present-day Pakistan also includes some of the oldest empires of the Indian Subcontinent;[1] and some of its major civilizations.On 12 March 1949, the second constituent assembly of Pakistan passed the Objectives Resolution that was proposed by the first Prime Minister Liaquat Ali Khan, proclaimed that the future constitution of Pakistan would not be modeled entirely on a European pattern, but on the ideology and democratic faith of Islam. The legislative elections in 1954 saw the Awami League coming to power and its leader Huseyn Suhrawardy becoming country's first Bengali Prime minister. Promulgation of Constitution in 1956 led to Pakistan declaring itself Islamic republic (official name) with the adoption of parliamentary democratic system of government. The constitution transformed the Governor-General of Pakistan into President of Pakistan (as head of state). Subsequently, Iskander Mirza became the first president as well as first Bengali in 1956, but the democratic system was stalled after President Mirza imposed a military coup d'état and appointed Ayub Khan as an enforcer of martial law. Two weeks later, Ayub Khan ousted President Mirza; his presidency saw an era of internal instability and a second war with India in 1965. Economic grievances and political disenfranchisement in East Pakistan led to violent political tensions and armed repression, escalating into guerrilla war[8] followed by the third war with India. Pakistan's defeat in the war ultimately led to the secession of East Pakistan and the birth of Bangladesh.
Pakistan's political history began in 1906 with the birth of the Muslim League, established in opposition to the Congress party which it accused of failing to protect "Muslim interests, amid neglect and under-representation." On 29 December 1930, philosopher Sir Muhammad Iqbal called for an autonomous new state in "northwestern India for Indian Muslims". The League rose in popularity through the late 1930s. Muhammad Ali Jinnah espoused the Two Nation Theory and led the League to adopt the Lahore Resolution of 1940, demanding the formation of independent states in the East and the West of British India. Eventually, a successful movement led by Jinnah resulted in partition and independence from Britain, on 14 August 1947.
Democracy was resumed from 1972 to 1977 under the leftist Pakistan People’s Party (PPP) led by Zulfikar Ali Bhutto, until he was deposed in a bloodless coup by General Zia-ul-Haq, who became the country's third military president. Pakistan's British-imposed colonial but secular policies were replaced by the new Islamic Shariah legal code, which increased religious influences on the civil service and the military. With the death of President Zia-ul-Haq in 1988, new general elections saw the victory of PPP led by Benazir Bhutto who was elevated as the country's first female Prime Minister of Pakistan. Over the next decade, she alternated power with the conservative Pakistan Muslim League-N (PML(N)) led by Nawaz Sharif, as the country's political and economic situation deteriorated. Military tensions in the Kargil conflict with India were followed by yet another coup d'état in 1999 in which General Pervez Musharraf assumed executive powers.
Appointing himself President after the resignation of President Rafiq Tarar, Musharraf held nationwide general elections in 2002 to transfer the executive powers to newly elected Prime Minister Zafarullah Khan Jamali, who was succeeded in the 2004 by Shaukat Aziz. During the election campaign of 2007, Benazir Bhutto was assassinated which led to a series of important political developments including the left-wing alliance led by the PPP. Historic general elections held in 2013 marked the return of PML(N) with Prime Minister Nawaz Sharif assuming the leadership of
the country for the third time in its history.