Turkey’s state-run media, Anadolu Agency, is reporting that the country’s Interior Ministry has fired close to 9,000 people across country, including 30 governors over the failed coup attempt of Friday.

A total of 8,777 employees attached to the ministry were dismissed, including 30 governors, 52 civil service inspectors and 16 legal advisers, Associated Press reports.

Prosecutors have also started questioning 27 generals.

Those being questioned include former Air Force commander Gen. Akin Ozturk, who has been described as the ringleader of the foiled uprising.

Ozturk, who remained in active duty, has denied he was involved and insisted he worked to quell the uprising in statements he made to Turkish media.

Other media reports said police and military police officers and coast guards were also removed from duty.

The government has blamed the failed coup – which led to at least 294 deaths and wounded 1,400 others – on supporters of a U.S.-based Muslim cleric who has become President Recep Tayyip Erdogan’s chief opponent.