Police in Kyrgyzstan have detained the former presidentafter an outbreak of violence during a botched raid on his compound left a police officer dead and nearly 80 people injured.

The violence has raised the threat of fresh turmoil in the former Soviet country, which borders China and hosts a Russian military airbase. There have been two revolutions in Kyrgyzstan since 2005.

Almazbek Atambayev, who was in office from 2011-17, has accused his successor and one-time protege Sooronbai Jeenbekov of fabricating criminal charges against him to stifle criticism. He urged his supporters to demonstrate in the capital, Bishkek, on Thursday to demand Jeenbekov’s resignation.

Government forces stormed Atambayev’s compound three times before they managed to arrest the former president, who may also face charges in connection with the death of the police officer.

Footage from Atambayev’s compound on the outskirts of Bishkek showed fighting between soldiers and his supporters on Wednesday evening. At one point, soldiers picked up rocks and threw them at protesters as fires raged. Photographs appeared to show several injured troops captured by Atambayev’s supporters.

The operation was botched so poorly that the country’s national security chairman offered his resignation, which was refused. Ultimately, thousands of troops descended on the compound on Thursday evening, when Atambayev surrendered. He was flown by helicopter to Bishkek for interrogation. His supporters are planning to stage a rally in the capital, according to local reports.

The raid came just weeks after Atambayev was received by the Russian president, Vladimir Putin, at the Kremlin in a show of support for the embattled politician. At the time, he called for political forces to “unite around the incumbent president”. The head of Russia’s foreign intelligence agency, Sergei Naryshkin, called on Thursday for all sides in the conflict “to exercise restraint”.

State officials said a police officer had died from a gunshot wound and another was in a coma after being hit by a rock. Protesters and police officers sustained bullet wounds in the fighting.

Law enforcement officers in Koi-Tash, where former the president Almazbek Atambayev’s residence is located, on Thursday. Photograph: Alexander Malyshev/TASS

Atambayev faces corruption and illegal enrichment charges relating to his six-year presidential term, which ended in 2017. His supporters say he is being targeted by Jeenbekov in an act of political retribution.

Atambayev supported Jeenbekov during a heated presidential campaign two years ago but the pair later had a public falling out.

Several prime ministers under Atambayev have also been charged with corruption, and in June he was stripped of his presidential immunity, a concession offered to top Kyrgyzstan politicians to encourage a peaceful transition of power. Atambayev, who then retreated to his compound, has defied repeated summonses from investigators.

Jeenbekov accused Atambayev of violating the constitution during a hastily convened security council meeting on Thursday. “By putting up fierce armed resistance to the investigative measures undertaken within the framework of the law, Almazbek Atambayev gravely trampled upon the constitution and laws of the Kyrgyzstan,” the president said, according to Interfax news agency.