The dead included 21 attackers, one Tunisian soldier and four civilians, the interior and defense ministries said in a joint statement. A 12-year-old girl was among the fatalities.

The gunmen targeted a police station and military facilities at dawn in the border town of Ben Guerdane in eastern Tunisia, Interior Ministry spokesman Yasser Mosbah told The Associated Press earlier.

FATHI NASRI/AFP/Getty Images

Tunisian special forces take position during clashes with militants in the southern town of Ben Guerdane, near the Libyan border, on Monday.

France’s foreign ministry condemned the attacks and identified the gunmen as “terrorists coming from Libyan territory.”

“This attack is just reinforcing the urgent need for a political solution in Libya,” the ministry said in a statement, adding that the country was targeted because of its “exemplary democratic transition.”

STRINGER/REUTERS

Tunisian soldiers standing guard at the border crossing at Ras Jdir Ben Guerdane where Islamist fighters attacked army and police posts on Monday.

Hospital official Abdelkrim Sakroud said on state radio that three corpses had been brought in, including that of the 12-year-old girl.

The Tunisian military sent reinforcements and helicopters to the area around Ben Guerdane and authorities were hunting several attackers still at large. The ministry urged residents to stay indoors.

FATHI NASRI/AFP/Getty Images

Tunisian special forces take position during the clash that left at least 26 people dead.

The violence comes amid increasing international concern about Islamic State extremists in Libya. Tunisia’s fledgling democratic government is especially worried after dozens of tourists were killed in extremist attacks in Tunisia last year.

Last week, Tunisian security forces killed five heavily-armed men in an hours-long firefight after they crossed into the country from Libya with a larger group. Tunisian security forces had been placed on alert based on “precise information” of possible border infiltrations following the Feb. 19 U.S. raid on an IS camp near the Libyan town of Sabratha, not far from the Tunisian border, the statement said.

Defense Minister Farhat Horchani said last week that German and American security experts were expected in Tunis on Monday to help Tunisia devise a new electronic video-surveillance system of its border with Libya.

Tunisia was targeted last year by three attacks that left 70 people dead and were claimed by IS. According to Tunisian authorities, the attackers had been trained in Libya.