OSLO, Norway — Two men accused of plotting a terror attack against a Danish newspaper that caricatured the Prophet Muhammad have been found guilty of terror charges in Norway, the first convictions under the country’s anti-terror laws.

The Oslo district court sentenced alleged ringleader Mikael Davud to seven years in prison and co-defendant Shawan Sadek Saeed Bujak to three and a half years.

A third defendant, David Jakobsen, was cleared of terror charges but convicted of helping the others acquire explosives.

Investigators say the plot was linked to the same al-Qaida planners behind thwarted attacks against the New York subway system and a British shopping mall in 2009.