Spanish police on Tuesday arrested two “suspected terrorists” believed to be linked to al-Qaeda in the Islamic Maghreb, Spain’s interior ministry said.

One man, an Algerian, was arrested in the eastern provinceof Zaragoza and the other, a Morrocan, in the southern province of Murcia, after a joint operation between Spain, France andMorocco, a ministry statement said.

The news comes after Canadian security forces thwarted a plot to blow up a rail line between Canada and the United States, police and intelligence agencies stated on Monday.

A U.S. law enforcement source told Reuters the alleged plot was not linked with last week’s Boston Marathon bombings.