Turkey has put on trial 200 suspects including senior military officers accused of plotting and orchestrating last year's failed coup, in a court case where prosecutors are calling for life sentences.

The defendants, among them President Recep Tayyip Erdogan's aide-de-camp, the former head of Turkey's air force, and dozens of generals, colonels and majors, were paraded on their way to court past dozens of protesters who demanded the death penalty and threw nooses towards them.

Around 1,500 security personnel were deployed for security at the trial, state-run Anadolu news agency reported, which was held in a purpose-built courthouse in Sincan on the outskirts of the Turkish capital.

More than 240 people, many of them civilians, were killed in the failed coup on 15 July 2016, when a group of rogue soldiers commandeered tanks, warplanes and helicopters, bombing the parliament and attempting to overthrow the government.

Those on trial in Sincan included core suspects behind the coup who raided the state broadcaster and forced the presenter to read out an announcement saying the army had taken over and Turkey was being run by a committee they called “Peace at Home”.

Erdogan blames Fetullah Gulen, a US-based cleric and a former ally, and his global network for orchestrating the coup, a charge Gulen denies. Turkish authorities have arrested nearly 50,000 people over alleged links with the preacher.

At the start of the hearing, families of the victims attending the trial screamed at the defendants, and one woman in the courtroom, whose son was killed during the coup, broke down.

“Kill these traitors, the murderers of my son,” she screamed before fainting. The judge called for a medical team to be brought into the courtroom.

From a total of 221 defendants, more than 200 are from the military and more than half of those were officers who held ranks from captains up to generals. All but 12 of the suspects, who are still at large, appeared in court. Gulen, who is among the defendants, is among those being tried in absentia.

Following confirmation of the suspects' identity and the reading of a summary of the roughly 2,000-page indictment, suspects will be able to put forward their defence.

Hearings at the trial, one of the largest of several coup-related trials taking place across Turkey, are expected to last until 16 June.

Citing the coup attempt as a grave threat to the state, Turkish authorities have also sacked or suspended around 150,000 civil servants, teachers, judges, prosecutors, police and soldiers and have shut down around 150 media outlets.

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

While the detentions may have been supported by some Turks in the immediate aftermath of the abortive putsch, criticism mounted as arrests widened to include groups of which many deny any connection to Gulen.

Many relatives of those detained or sacked since July say they have nothing to do with the armed attempt to overthrow the government, and are victims of a purge designed to consolidate Erdogan's control.