Slideshow ( 6 images )

MUNICH (Reuters) - Two Syrian migrants who came to Germany as part of an influx of refugees in the summer of 2015 went on trial in Munich on Thursday accused of fighting in Syria as part of a militant group.

More than 1 million migrants have arrived in Germany over the past two years and concerns about security and integration are widespread.

Barbara Stockinger, a judge and spokeswoman for Munich’s higher regional court, said 22-year-old Azad R. and 24-year-old Kamel T.H.J. were accused of fighting near Aleppo as part of the Islamist rebel group Ahrar al-Sham between August 2013 and April 2014.

“They armed themselves with kalashnikovs and fought against other rebel groups and the Syrian military government,” she said.

Stockinger said one of the men was injured during combat and headed to Turkey for medical treatment along with the other defendant. They then traveled to Germany, where they arrived in around June 2015 before being taken into custody in April 2016.

If convicted, the men could face up to 10 years in prison.