A suicide bomber has wounded three people in an internet cafe in the Moroccan city of Casablanca.
It is not clear if the internet cafe was the bomber's intended target
The attack, which took place on Sunday evening in the Sidi Moumen district of the city, left the bomber dead.
The blast happened after the man began a dispute with the cafe's owner, who refused him access to jihadist sites.
Another man, with the bomber at the time of the blast, fled after the explosion but has now been arrested by police, reports say.
"The man used to come to view jihadist websites and the dispute was prompted by the internet cafe owner's decision to prevent him this time from viewing such propaganda material," one official told Reuters.
Police say it is unclear if the device was detonated by design or went off by accident during the argument between the two men.
One theory is that the man was trying to access websites or email to receive instructions on where to detonate the explosives.
The blast occurred in a slum area of the city that was home to 13 suicide bombers who carried out a series of co-ordinated suicide bombings in 2003 which left 33 people dead.