The following pictures, taken during and in the aftermath of the attempted coup in Turkey which began late on July 15 and ended the following morning, tell the story of the night's events.

People gather around as Turkish police officers, loyal to the government, stand atop tanks abandoned by soldiers, backdropped by Istanbul's iconic Bosporus Bridge, July 16, 2016. (AP)
People gather around as Turkish police officers, loyal to the government, stand atop tanks abandoned by soldiers, backdropped by Istanbul's iconic Bosporus Bridge, July 16, 2016. (AP)
A Turkish Army tank drives on a street in Ankara, Turkey July 16, 2016. (Reuters)
A Turkish Army tank drives on a street in Ankara, Turkey July 16, 2016. (Reuters)
Soldiers enter Fatih Sultan mehmet bridge in Istanbul on July 16, 2016. (AFP)
Soldiers enter Fatih Sultan mehmet bridge in Istanbul on July 16, 2016. (AFP)
Soldiers block access to the Bosphorus bridge, which links Europe with Asia, in Istanbul, Turkey, July 15, 2016. (Reuters)
Soldiers block access to the Bosphorus bridge, which links Europe with Asia, in Istanbul, Turkey, July 15, 2016. (Reuters)
Anti-coup protesters wave a Turkish flag in Istanbul's Taksim square, July 16, 2016. (AP)
Anti-coup protesters wave a Turkish flag in Istanbul's Taksim square, July 16, 2016. (AP)
Turks pray in the street during the coup attempt. Twitter/@SayBismillah
Turks pray in the street during the coup attempt. Twitter/@SayBismillah
Turkish protester lies in front of tank. Twitter/@MahkhdoomQaiser
Turkish protester lies in front of tank. Twitter/@MahkhdoomQaiser
People are pictured outside the parliament building in Ankara, following the attempted military coup. July 16, 2016. (Reuters)
People are pictured outside the parliament building in Ankara, following the attempted military coup. July 16, 2016. (Reuters)
Image of the inside of the destroyed parliament building in Ankara, following the attempted coup, July 16, 2016. (Reuters)
Image of the inside of the destroyed parliament building in Ankara, following the attempted coup, July 16, 2016. (Reuters)
The damaged office of Turkey's prime minister inside the parliament in Ankara, Turkey, July 16, 2016. (AP)
The damaged office of Turkey's prime minister inside the parliament in Ankara, Turkey, July 16, 2016. (AP)
The interior of a destroyed parliament building in Ankara, following the attempted military coup. July 16, 2016. (Reuters)
The interior of a destroyed parliament building in Ankara, following the attempted military coup. July 16, 2016. (Reuters)
Soldiers surrender their weapons to policemen in Istanbul's Taksim Square, Turkey, July 16, 2016. (Reuters)
Soldiers surrender their weapons to policemen in Istanbul's Taksim Square, Turkey, July 16, 2016. (Reuters)
Turkish police officers detain Turkish soldiers suspected of taking part in the coup on July 16, 2016.
Turkish police officers detain Turkish soldiers suspected of taking part in the coup on July 16, 2016.
Turkish people and police officers on top of an armoured vehicle in Istanbul's Vatan street, Turkey on July 16. (AA)
Turkish people and police officers on top of an armoured vehicle in Istanbul's Vatan street, Turkey on July 16. (AA)
A Turkish police officer (R) embraces a man on a tank in Uskudar on the Asian side of Istanbul on July 16, 2016.
A Turkish police officer (R) embraces a man on a tank in Uskudar on the Asian side of Istanbul on July 16, 2016.
People against the attempted coup celebrate at Istanbul's Ataturk airport, July 16, 2016. (AP)
People against the attempted coup celebrate at Istanbul's Ataturk airport, July 16, 2016. (AP)
People celebrate after around 50 soldiers involved in the coup surrendered on the Bosphorus Bridge in Istanbul, Turkey July 16, 2016. (Reuters)
People celebrate after around 50 soldiers involved in the coup surrendered on the Bosphorus Bridge in Istanbul, Turkey July 16, 2016. (Reuters)
Source: TRTWorld and agencies