Some of the soldiers who were detained at a military headquarters in Turkey have reportedly told interrogators they were not aware they were part of a coup attempt.

They had been told by commanders they were taking part in military manoeuvres, the Turkish Hurriyet newspaper has reported.

Some soldiers said they understood they were part of a coup when they saw civilians climb on tanks.

In pictures: Turkey coup attempt Show all 17 1 /17 In pictures: Turkey coup attempt In pictures: Turkey coup attempt Turkish President Erdogan attends the funeral service for victims of the thwarted coup in Istanbul at Fatih mosque on July 17, 2016 in Istanbul, Turkey Burak Kara/Getty Images In pictures: Turkey coup attempt Soldiers involved in the coup attempt surrender on Bosphorus bridge with their hands raised in Istanbul on 16 July, 2016 Gokhan Tan/Getty In pictures: Turkey coup attempt A civilian beats a soldier after troops involved in the coup surrendered on the Bosphorus Bridge in Istanbul, Turkey, 16 July, 2016 REUTERS/Murad Sezer In pictures: Turkey coup attempt Surrendered Turkish soldiers who were involved in the coup are beaten by a civilian Reuters In pictures: Turkey coup attempt Soliders involved in the coup attempt surrender on Bosphorus bridge Getty In pictures: Turkey coup attempt Supporters of Turkish President Recep Tayyip Erdogan wave flags as they capture a Turkish Army vehicle Getty In pictures: Turkey coup attempt People pose near a tank after troops involved in the coup surrendered on the Bosphorus Bridge in Istanbul, Turkey, 16 July, 2016 Reuters In pictures: Turkey coup attempt Turkish soldiers block Istanbul's Bosphorus Brigde Getty In pictures: Turkey coup attempt A Turkish military stands guard near the Taksim Square in Istanbul Reuters In pictures: Turkey coup attempt Pierre Crom/Twitter In pictures: Turkey coup attempt Turkish soldiers secure the area as supporters of Recep Tayyip Erdogan protest in Istanbul's Taksim square AP In pictures: Turkey coup attempt People demonstrate in front of the Republic Monument at the Taksim Square in Istanbul Murad Sezer/Reuters In pictures: Turkey coup attempt Turkish soldiers detain police officers during a security shutdown of the Bosphorus Bridge Reuters In pictures: Turkey coup attempt Turkish Army armoured personnel carriers in the main streets of Istanbul Getty In pictures: Turkey coup attempt Chaos reigned in Istanbul as tanks drove through the streets EPA/TOLGA BOZOGLU In pictures: Turkey coup attempt Turkish President Tayyip Erdogan speaks to media in the resort town of Marmaris Reuters In pictures: Turkey coup attempt Supporters of President Erdogan celebrate in Ankara following the suppression of the attempted coup Reuters

NTV television has shown footage of a Turkish colonel and other soldiers being taken into custody at military headquarters.

The video shows them being hand-searched by special forces police, their hands behind their heads.

Some are later seen kneeling on the ground, their hands still held behind their heads.

Turkey's president has told the nation that his government is in charge after a coup attempt brought a night of explosions, air battles and gunfire that left dozens dead.

Turkey attempted coup

At least 161 people were killed in the country's overnight military coup attempt, it has been announced, while more than 1,400 people were wounded in the chaos.

More than 2,800 people have been detained.

Most of those arrested were from lower military ranks, an official said.

Turkey's state-run Anadolu Agency said all soldiers involved in the attempted coup at the military headquarters in the capital, Ankara, have been taken into custody.

The report said anti-terrorism police will now conduct a "detailed search" at the headquarters.

President Recep Tayyip Erdogan warned coup supporters that "they will pay a heavy price for their treason to Turkey", according to a transcript of his remarks provided by his office.

"Those who stain the military's reputation must leave. The process has started today, and it will continue just as we fight other terrorist groups."