JAMAMAE, Somalia- Al Shabaab militants in Jamame town in southern Somalia have publicly beheaded four men accused of spying for the US, Kenya and Somali Intelligence agencies on Sunday, Garowe Online reports.

Al Shabaab announced that group’s Sharia court has executed four spies identified as Ahmed Ibrahim, 28, Yusuf Makaran, 58, Abdullahi Omar Hassan, 26 and Siyad Ali Abdi, 26 after they were found guilty of working with intelligence agencies.

Abdi was accused of working for the CIA and helping U.S. military forces to carry out airstrikes that killed up to 100 militants in rebel-held areas near Beledweyne town, the regional capital of Hiiraan region during March 2016.

Hundreds of local residents, including women and children were called to gather at an open square in Jamama town in Lower Jubba region, near Kismayo town to witness the execution of the alleged spies, sources said.

Al Shabaab judge has threatened locals with similar punishment if found guilty of espionage and working secretly with the Somali or foreign Intelligence agencies.

The Al Qaida-linked terror group Al Shabaab routinely executes alleged spies in an effort to protect the group from being targeted by the U.S. military, which has waged a covert war in Somalia for years.

Last month, Al Shabaab has also executed captured Ugandan soldier serving with African Union Mission in Somalia (AMISOM), intended to intimidate the AU peacekeepers protecting the Somali Federal government.

GAROWEONLINE