A Quebec court judge sentenced a young Montreal man on Thursday to seven years in prison for his involvement in the firebombing of two Jewish institutions.

Judge Louise Bourdeau handed down the sentence for Omar Bulphred, 23, on the same morning the Algerian-born man pleaded guilty to three counts of arson and two of uttering threats.

He admitted to being involved in the 2006 firebombing of the Skver-Toldos Orthodox Jewish Boys School in Outremont and a second bombing at the YM-YWHA Ben Weider Jewish Community Centre in Côte-des-Neiges the following year.

Bulphred also admitted to writing letters claiming the crimes were committed in the name of Islamic Jihad, a militant group that has vowed to destroy Israel and set up an Islamic Palestinian state.

"I'm sorry to the Jewish community. My actions were cowardly," Bulphred told the court.

The seven-year sentence was supported by both defence and Crown lawyers.

Bulphred is the second man to plead guilty in connection to the attacks.

Azim Ibragimov is already serving time after admitting to throwing the Molotov cocktail into the boys school. He pleaded guilty last year and was sentenced to four years behind bars.

In court, he claimed that Bulphred was the mastermind behind the attacks.