Updated

A court in southern Poland has handed a 13-year prison term to a chemist found guilty of having plotted a bomb attack on parliament and other buildings in 2012.

The man, identified as Brunon Kwiecien, a university teacher in Krakow, was arrested in 2012 in a much publicized case that the prosecutors said was a successful foiling of a "terrorist" attack. The case involved undercover security officers pretending interest in Kwiecien's scheme.

On Monday a court in Krakow found Kwiecien guilty of preparing an attack on parliament, of trying to induce two students to carry out an attack and of illegal weapons possession.

Kwiecien had pleaded not guilty and said he was a victim of a plot by the security officers.