An Italian court on Saturday sentenced five defendants to prison terms of up to 34 months in connection with the deaths of 32 people in the January 2012 Costa Concordia shipwreck, Italian media reported.

The judge, Pietro Molino, accepted a plea bargain reached between prosecutors and five of the six defendants in the case, who were accused of manslaughter, negligence and shipwreck.

The defendants were officers Ciro Ambrosio and Silvia Coronica; helmsman Jacob Rusli; the head of cabin service, Manrico Giampedroni; and the head of the Costa Crociere cruise ship company's crisis team, Roberto Ferrarini.

The main suspect in the case, Capt. Francesco Schettino, who is charged with causing the shipwreck off Italy's Giglio Island and abandoning the damaged vessel with thousands of people still on board, is being tried separately after his request for a plea bargain was turned down by prosecutors.

The longest sentence was handed down to Ferrarini, who received 34 months in prison, while the other sentences ranged from between 18 months and 30 months behind bars.

The shipwreck occurred on the night of Jan. 13, 2012, when the vessel collided with rocks when Schettino was maneuvering the vessel close to the Tuscan island of Giglio during a sail-past salute.

After the impact, several hours elapsed before the order was given to evacuate the vessel, which had more than 4,200 passengers and crew on board.

The 32 fatalities included a Spaniard and two Peruvians. EFE