About 50 hours before the start of an attack by Al-Shabaab fighters on the heavily guarded Godka Jilacow prison complex on Saturday afternoon, the Somali government announced the removal of concrete barriers and the reopening of dozens of roads in the capital, Mogadishu, which had been closed "for security reasons."

The barriers were removed and officials stopped to take photographs, but the image the government sought to project to the public, one that was meant to show the tightness of its security grip, was completely shattered when the attack on Jilacow began. The prison is located in the Bondhere district of the capital, close to the presidential palace, or "Villa Somalia" as it is known there.

Removal of concrete barriers from the streets of Mogadishu

According to the Somali Guardian website, the "symbolic and strategic" importance of Jilacow prison, which lies "a few steps from the presidential palace" and houses "the offices of the head of the intelligence agency and his deputies in the Bunders area," "raises pressing questions ... about the readiness of the security forces."

Especially since "official media reported that no security protocols exist to detect or deal with such a scenario."

Surveillance camera footage, which quickly circulated on social media after news of the attack spread, shows Al-Shabaab fighters using vehicles bearing the logo of the National Intelligence and Security Agency (NISA) as a disguise.

Video footage of a booby-trapped vehicle bearing the logo of the National Intelligence and Security Agency (NISA), occupied by fighters from the Al-Shabaab movement

CCTV footage, which has spread widely across the capital's streets in recent times, indicates, according to analysts, that the vehicle used in the attack had been used for earlier trial runs along the same route, yet no security force member noticed this, and the vehicle's route was not intercepted.

Scenes from the aftermath of the clashes that took place in Jilib, which lasted for nearly twelve hours

A History of Abuses

Godka Jilacow prison was established under former Somali ruler Mohamed Siad Barre.

During his rule, the prison acquired a terrible reputation as a place of torture, where prisoners, many of them political opponents of Barre, were severely mistreated or, in many cases, killed by government forces.

After the country slid into a civil war that ended Barre's rule in the early 1990s, the prison was neglected.

However, it was reopened in 2006 during the global war on terror, when an Ethiopian invasion of Somalia, backed by the United States, overthrew the Islamic Courts Union.

By 2011, as Jeremy Scahill reported in The Nation at the time, the US Central Intelligence Agency (CIA) itself was overseeing the detention and torture of suspects at Godka Jilacow prison.

Since then, the prison has continued to be used as a site of grave abuses, not only against alleged members of Al-Shabaab but also against political opponents, journalists and other civilians, some of them children.

In 2018, the government announced that Jilacow prison, which had previously been attacked by Al-Shabaab in 2014, would be converted into a training centre for intelligence officers, with emphasis on giving priority to human rights in the curriculum to be taught.

A clip showing a number of prisoners fleeing.

However, reports emerged casting doubt on these statements, stating that Jilacow continued to operate as a prison. The mass escape of a large number of prisoners from the facility as a result of the attack has dealt a new blow to the credibility of the Somali government.

Strategic Stalemate

Samira Gaid, a security expert specialising in Somali affairs, said the attack shows a "gap" between the government's assessment of the security situation and the reality on the ground, as Al-Shabaab has demonstrated through this attack its capacity to carry out attacks near the presidential palace.

Gaid told Al Jazeera: "Their not escalating their attacks in the capital does not mean they are weak; it means they are waiting for the right time and can choose when to attack."

The Guardian also quoted her describing the current situation as a "strategic stalemate."

She said: "Al-Shabaab is not interested in taking Mogadishu. It controls many small towns and most rural areas. We are stuck here for a while ... and we will remain so as long as the government enjoys the advantage of support provided by foreign forces."

Observers point to the government's weakness as the main reason behind the rebels' recent successes.

Ahmed Soliman, an expert on East Africa at the Chatham House institute in London, said: "The general political and security environment always determines Al-Shabaab's situation on the ground."

He added: "There are deep divisions in the country, which makes it harder for the federal government, its forces and international forces to coordinate their efforts."