BERLIN — A German court on Friday convicted a man of attempted arson for a New Year's Eve incident in which he broke a window at a synagogue in Bavaria, then tried to light a firework and throw it into the building.

The district court in Bamberg sentenced the 22-year-old, who also was convicted of damage to property, to 2 1/2 years in prison, German news agency dpa reported. His name wasn't released in keeping with German privacy rules.

The defendant acknowledged during his trial that he had far-right views. He admitted to the charges, though he said he couldn't remember everything because he was intoxicated at the time of the incident in the small town of Ermreuth. He said he regretted his actions and asserted that he didn't know what prompted him to take them.

Surveillance camera footage showed that, after breaking the window, the man tried repeatedly — and unsuccessfully — to light a firework and throw it into the synagogue. No one was in the building at the time.

Prosecutors had sought a three-year sentence. The defense called for a suspended sentence of two years at most.

Town to pay $550G to mosque ... Scholarship offers free SUNY, CUNY tuition ... Too many rainy weekends? Credit: Newsday

Updated 15 minutes ago Upgraded charges for accused stalker ... Water district to borrow $15M for upgrades ... Town to pay $550G to mosque ... Scholarship offers free SUNY, CUNY tuition

Town to pay $550G to mosque ... Scholarship offers free SUNY, CUNY tuition ... Too many rainy weekends? Credit: Newsday

Updated 15 minutes ago Upgraded charges for accused stalker ... Water district to borrow $15M for upgrades ... Town to pay $550G to mosque ... Scholarship offers free SUNY, CUNY tuition

SUBSCRIBE

Unlimited Digital AccessOnly 25¢for 6 months

ACT NOWSALE ENDS SOON | CANCEL ANYTIME