(CNN) -- Here's a look at what you need to know about Pakistan, the sixth most populous country in the world. It borders Iran, Afghanistan and India in Southeast Asia. In 1947, Pakistan gained its independence from Great Britain.
About Pakistan: (from the CIA World Factbook) Area: 796,095 sq km (slightly less than twice the size of California)
Population: 196,174,380 (July 2014 est.)
Median age: 22.6 years old
Ethnic Groups: Punjabi 44.68%, Pashtun (Pathan) 15.42%, Sindhi 14.1%, Sariaki 8.38%, Muhajirs 7.57%, Balochi 3.57%, other 6.28%
Religion: Muslim 96.4%, other (includes Christian and Hindu) 3.6%
GDP: $574.1 billion (2013 est.)
GDP per capita: $3,100 (2013 est.)
Unemployment: 6.6% (2013 est.)
Timeline: August 16, 1947 - Great Britain gives independence to the Indian subcontinent, splitting it into India, West Pakistan, and East Pakistan (now Bangladesh).
1947-1948 - Pakistan fights its first war against India over control of the Kashmir area.
1965 - Pakistan and India fight their second war over Kashmir.
1971 - Pakistan and India go to war over independence for East Pakistan, later renamed Bangladesh.
1973 - A constitution providing for a parliamentary system of government is adopted.
July 5, 1977 - Prime Minister Zulfikar Ali Bhutto is deposed in a bloodless coup led by the army. He is executed in April 1979.
1985 - Martial law ends, and the parliamentary government is reestablished.
December 1, 1988 - Benazir Bhutto is elected as the first female prime minister of Pakistan and of any Muslim nation.
1991 - Legislation is passed making Islamic law the law of the land.
April 6, 1998 - Pakistan successfully tests a medium-range missile capable of carrying a nuclear warhead On May 28, Pakistan announces it successfully conducted five nuclear tests after detonating a boosted uranium device and four low yield sub-kiloton devices.
May-July 1999 - Pakistan and India engage in a brief war over Kashmir.
October 12, 1999 - General Pervez Musharraf takes power in a bloodless coup. He declares himself president in June 2001.
August 31, 2007 - Musharraf amends Pakistan's constitution to allow himself a third term as president.
September 10, 2007 - Former Prime Minister Nawaz Sharif returns to Pakistan and is deported within hours of landing at the Islamabad airport. He returns to Jeddah, Saudi Arabia.
October 5, 2007 - Musharraf signs a "reconciliation ordinance" that drops outstanding corruption charges against former Prime Minister Benazir Bhutto, opening the way for Bhutto's return to Pakistan and a possible power-sharing agreement between them.
October 6, 2007 - An unofficial vote count indicates Musharraf wins by a landslide in a presidential election almost entirely boycotted by the opposition.
November 3, 2007 - Musharraf declares a state of emergency in Pakistan. He suspends the country's constitution, postpones the upcoming elections and imposes restrictions on the media. Government authorities arrest 1,500 people who protest the state of emergency.
November 9, 2007 - Bhutto is placed under house arrest hours before the start of a protest rally in Rawalpindi, though the arrest warrant is later lifted.
November 11, 2007 - The Pakistani Supreme Court, packed with judges appointed by Musharraf, dismisses five petitions contesting his eligibility as a presidential candidate in the recent elections.
November 28, 2007 - Musharraf steps down as leader of the Pakistani army, the day before he is scheduled to be sworn in as president. General Ashfaq Kayani, appointed vice chief of army staff on October 8, takes over army leadership.
November 29, 2007 - Musharraf takes the presidential oath of office for the third time.
December 27, 2007 - Bhutto is assassinated during a rally in Rawalpindi, Pakistan.
February 19, 2008 - Musharraf's party, the Pakistan Muslim League-Q, admits defeat in Pakistan's parliamentary elections.
March 9, 2008 - Asif Ali Zardari, head of the Pakistan People's Party, and Nawaz Sharif, head of the Pakistan Muslim League-N, sign an agreement making their coalition official. The two leaders call on Musharraf to immediately convene parliament and state they will announce their nominee for prime minister when parliament is called into session.
March 25, 2008 - Yousuf Raza Gilani is sworn in as Pakistan's new prime minister. Gilani is a member of the Pakistan People's Party and served in various capacities as a cabinet member during Benazir Bhutto's terms as prime minister.
April 30, 2008 - After seven hours of talks, leaders from Pakistan's ruling coalition fail to meet their promise to restore to office the judges dismissed by President Musharraf in November, when he declared a state of emergency and dismissed them.
May 12, 2008 - For the second time, Pakistani leaders fail to reach an agreement and meet their self-imposed deadline to introduce a parliamentary resolution restoring the judges. Former Prime Minister Sharif announces that ministers from his party in the federal Cabinet will hand in their resignations the following day.
August 18, 2008 - Pervez Musharraf resigns as president.
September 9, 2008 - Asif Ali Zardari, widower of Benazir Bhutto, is sworn in as the new president.
July-August 2010 - Catastrophic flooding in Pakistan leads to deaths of at least 1,600 people and leaves four million more homeless.
May 2, 2011 - Al Qaeda leader Osama bin Laden is killed by U.S. Special Forces during a U.S. raid in Abbottabad, Pakistan.
May 14, 2011 - Pakistan's parliament adopts a resolution condemning the U.S. raid on bin Laden's compound. The parliament also threatens to cut off access to a facility used by NATO forces to ferry troops into Afghanistan.
May 24, 2011 - Former President Pervez Musharraf condemns the raid on the bin Laden compound, "No country has a right to intrude into any other country... Actually, technically, if you see it legally, it's an act of war."
May 25, 2011 - Pentagon spokesman Col. Dave Lapan announces that the U.S. is reducing its troops in Pakistan at the request of the Pakistani government.
October 2011 - Pakistani businessman Mansoor Ijaz claims in an op-ed piece for the UK-based Financial Times that a Pakistani diplomat had him deliver a secret memo to U.S. Admiral Mike Mullen. The memo, allegedly from Pakistani President Asif Ali Zardari, reportedly asked the U.S. to back Zardari in the event of a military coup related to the U.S. killing of Osama bin Laden in May 2011.
November 28, 2011 - Tensions among Pakistan, Afghanistan and the United States jump a notch, with Pakistan's prime minister warning there will be "no more business as usual" with Washington after NATO aircraft killed two dozen Pakistan troops.
December 30, 2011 - Pakistan's Supreme Court appoints a panel to investigate the memo allegedly sent by President Asif Ali Zardari to U.S. Admiral Mike Mullen.
February 13, 2012 - The Pakistani Supreme Court indicts Prime Minister Yousuf Raza Gilani for contempt after his refusal to re-open old corruption cases against President Asif Ali Zardari. Gilani is the first Pakistani prime minister to be charged while in office.
April 26, 2012 - Prime Minister Yousuf Raza Gilani is convicted and receives a symbolic sentence of custody for the duration of the hearing. He refuses to resign and says that he will appeal the conviction.
June 19, 2012 - Pakistan's Supreme Court rules that Prime Minister Gilani is ineligible to hold office. The court declares the prime minister disqualified retroactive to April 26.
June 22, 2012 - Raja Pervez Ashraf becomes the new prime minister of Pakistan after lawmakers approved his nomination in a majority vote in parliament.
May 11, 2013 - According to unofficial election results, former Prime Minister Nawaz Sharif's party, the Pakistan Muslim League Nawaz (PML-N), has won most of the seats in the National Assembly.
May 19, 2013 - Sharif successfully gains a majority in parliament, allowing him to form a government and become prime minister.
July 30, 2013 - Mamnoon Hussain, a well-known businessman, is elected president.
September 24, 2013 - A magnitude 7.7 earthquake strikes Balochistan province. More than 300 people are killed.
January 19, 2014 - An IED placed in a civilian van kills 22 and injures 38 at an army checkpoint in the northern city of Bannu. The van was part of a military convoy using both military and civilian vehicles. A Taliban faction has claimed responsibility for the explosion.
June 8, 2014 - Ten terrorists attack Karachi's Jinnah International Airport killing at least 19 people and wounding at least 29. The Pakistani Taliban claimed responsibility for the attack. All ten terrorists died in the attack; two detonated suicide vests and the rest were killed by security forces.