ISIL claims attack on security forces in central Tunis which killed 13, after government declares state of emergency.

Tunisia has announced it is closing its land border with war-torn Libya for 15 days after a deadly bus bombing killed at least 13 people on a presidential guard bus in Tunis

The National Security Council, headed by President Beji Caid Essebsi, decided to close the frontier from midnight on Wednesday with “reinforced surveillance of maritime borders and in airports”, a statement said.

The bus was hit on the busy Mohamed 5 Boulevard on Tuesday evening, prompting Essebsi to impose a nationwide state of emergency.

The Islamic State of Iraq and the Levant (ISIL) claimed responsibility for the attack in a statement shared on its supporters’ social media accounts on Wednesday.

RELATED: Is political Islam compatible with democracy?

In addition to temporarily closing its Libya border crossing, Tunisia will hire 6,000 more recruits for security forces and act to protect itself against Tunisians returning from conflict zones like Syria, the president’s office said.

Tuesday’s incident was the third major attack in Tunisia this year following the gun assaults on a Sousse resort hotel in June and the Bardo National Museum in Tunis in March.

Tunisia faces loss of more than $500m in tourism over attacks

“According to the preliminary details, the attacker was wearing a bag on his back,” Hichem Gharbi, a presidential security official, told local Shems FM radio.

“He had on a coat and was wearing headphones. He blew himself up just getting into the door of the bus with military explosives.”

It was the first suicide bombing in Tunis.

In October 2013, a bomber blew himself up on a beach in Sousse, while an al-Qaeda suicide bomber attacked the synagogue in Djerba, killing 21 people.

“This is an evolution in the behaviour of the terrorists,” said Habib Essid, Tunisian prime minister, after an emergency security meeting.

“This time they attacked a symbol of the state and in the heart of the capital.”

Troops and armed police patrolled the streets and set up checkpoints searching vehicles and pedestrians.

At Tunis International Airport, security forces were allowing in only passengers who were travelling.

‘People crying’

Aymen Abderrahman, a local journalist, said that “hundreds of police and military” swarmed the area of the attack after the explosion.

“It’s in the heart of downtown – a residential area,” he told Al Jazeera by phone from Tunis, adding that people gathered and were “crying because it’s the first time it’s happened in downtown ever”.

Tunisian vows to tackle rising violence