Tens of thousands of people have rallied on the anniversary of Turkey's failed coup.

President Recep Tayyip Erdogan, who was targeted by the plotters, praised the bravery of civilians who stood up to pro-coup soldiers.