A German court has handed heavy prison sentences to two men and a woman who carried out an arson attack against a shelter for asylum-seekers last year.

Hannover's regional court sentenced a 31-year-old man to eight years in prison Thursday for throwing a firebomb through a window into the room of a Zimbabwean family at the shelter in the town of Salzhemmendorf.

A 25-year-old volunteer fireman was sentenced to seven years in prison. A 24-year-old woman who drove the men to the site received a prison sentence of four-and-a-half years.

German news agency dpa reported that presiding judge Wolfgang Rosenbusch said that although nobody was injured, the trio had accepted the possibility that people might die in the attack on Aug. 28.