Moroccan authorities have announced the dismantling of a militant network linked to the Islamic State group across nine cities that had been planning attacks.

The statement by the Interior Ministry Sunday didn't specify how many were arrested, but said the network was present in several cities, including Agadir, Tangiers, Taroudant and Marrakech.

In the southern coastal city of Agadir, police seized firearms and a large quantity of ammunition that was to be used in attacks against military and political figures, it said.

There has been increased concern over the presence of groups linked to Syria-based IS in North Africa after it claimed an attack on a Tunisian museum last week that killed 21 people.

Morocco frequently announces the arrest of militants around the country.