When the authority of the Directory was challenged by a royalist uprising on 13 Vendémiaire, Year IV (5 October 1795), the Directory called upon a young general, Napoléon Bonaparte, for help. Bonaparte used cannon and grapeshot to clear the streets of demonstrators. On 18 Brumaire, Year VIII (9 November 1799), he organised a coup d’état that overthrew the Directory and replaced it by the Consulate with Bonaparte as First Consul.