Tunisian police on Friday shot and wounded an extremist who sought to attack them with a knife and cleaver in the capital, authorities said.
The 31-year-old man, whose identity was not disclosed, shouted, "God is great. You are infidels," as he ran toward police officers near the interior ministry, the ministry said in a statement.
Witnesses and local media said police shot the man in the leg and arrested him. The man, who was previously labeled an extremist by the government, was taken to hospital and is being investigated by an anti-terrorism unit, officials said.
Tunisian security forces have thwarted most militant plots in recent years and they have become more efficient at responding to those attacks that do occur, Western diplomats say.
The last major attacks in Tunisia took place in 2015 when militants killed scores of people in two separate assaults at a museum in Tunis and a beach resort in Sousse.