In pictures: Pakistan marks Independence Day

There have been celebrations and ceremonies in Pakistan as it marks the 70th anniversary of its creation as a sovereign state.

EPA Pakistani residents carry national flags as they watch fireworks in Islamabad on 14 August 2017 to mark Independence Day.EPA
There were fireworks at midnight to mark the moment of partition from India at the end of British colonial rule in 1947
AFP A Pakistani Ranger (top) unfurls the Pakistani national flag as Pakistani people (R/L) watch during a ceremony to celebrate Pakistan's Independence Day at the India-Pakistan Wagah border post on 14 August 2017AFP
Crowds watched as the Pakistani flag was hoisted at Wagah, the only functioning land border crossing with India. India marks its independence on Tuesday
EPA Pakistani girls attend a ceremony at the mausoleum of founder of Pakistan, Muhammad Ali Jinnah, as national celebrates the Independence Day, in Karachi, Pakistan, 14 August 2017EPA
In Karachi, a ceremony was held at the mausoleum of Muhammad Ali Jinnah, the founder of Pakistan
EPA Pakistani girls wears artificial nails in colours of national flag during a ceremony at the mausoleum of founder of Pakistan, Muhammad Ali Jinnah, as national celebrates the Independence Day, in Karachi, Pakistan, 14 August 2017EPA
The festivities come at a time of political upheaval in Pakistan, after Nawaz Sharif was ousted as prime minister by a court over corruption allegations
AFP An aerobatic team performs during celebrations to mark the country's Independence Day in Islamabad on 14 August 2017AFP
His replacement, Shahid Khaqan Abbasi, attended a 31-gun salute and flag-raising ceremony to mark the occasion. Islamabad staged an aerobatic display later on
EPA A Pakistani security official stands guard in front of the national flag on a road side as nation celebrate the Independence Day, in Peshawar, Pakistan, 14 August 2017EPA
The partition of British India in 1947 into Hindu-majority India and Muslim-majority Pakistan was marked by one of the largest mass migrations in history and devastating bloodshed across all communities. It left a legacy of distrust between Pakistan and India, and unresolved conflict over Kashmir