Turkish security forces on Monday killed an armed attacker who shot at them from a vehicle outside the Ankara courthouse where suspects from the failed coup were appearing before judges, reports said.
AFP correspondents outside the courthouse -- where dozens of suspected coup plotters were having their first hearings -- reported hearing gunfire and scenes of panic as the clash erupted.
The Dogan news agency said the attacker was killed by police while two other people were arrested.
It was not clear if the incident was linked to the coup but television reports said that the attacker was a soldier, without giving further details.
Armoured vehicles and police had rushed to the scene in the capital, which is on a security alert following the coup bid. AFP correspondents reported seeing a crashed car at the scene.