Berlin, Feb 27 (AP) A German court sentenced two Afghan men to several years in prison on Thursday for planning an attack on the Swedish parliament and killing lawmakers in response to the burning of copies of the Quran, German news agency dpa reported.

The Jena Higher Regional Court found the men guilty of, among other things, membership or support of a terrorist organisation abroad and conspiracy to commit murder.

Also Read | US To Ban Transgender Troops in Military: Pentagon Says 'Transgenders Can't Serve Unless They Meet Warfighting Need' in Lawsuit Filing.

The court handed one of them, aged 30, a prison sentence of five years and six months and the other, aged 24, a term of four years and two months, dpa reported without further identifying the two men. The sentences can still be appealed.

Before their arrest, both men lived in Gera in the eastern German state of Thuringia, were friends, and had become radicalised by online propaganda from the Islamic State group, dpa reported.

Also Read | Gold Card Visa Program: US Companies Can Now Hire Indian Graduates From Top Universities Under New Citizenship Plan, Says Donald Trump.

The men were arrested in March on their way back from the Czech Republic, where they had tried unsuccessfully to obtain firearms for the attack. According to the court, they had been under surveillance for some time.

Previously, German authorities identified the two men as Ibrahim M.G. and Ramin N. (AP)

(The above story is verified and authored by Press Trust of India (PTI) staff. PTI, India’s premier news agency, employs more than 400 journalists and 500 stringers to cover almost every district and small town in India.. The views appearing in the above post do not reflect the opinions of LatestLY)