A Danish prosecutor has charged a 23-year-old man with violating Danish terrorism laws by joining the Islamic State group in 2013.

Prosecutor Lise-Lotte Nilas says that any foreign fighter in Syria "basically agreed to take part in terrorist acts that IS commit in the country."

Nilas said Tuesday the unidentified man also is charged with financially supporting IS because he intended to bring 20,000 kroner ($3000) in 2014 when he planned to return to Syria but was stopped by Danish police.

Nilas said a trial could be held in the early next year. If convicted, he faces at least four years in prison.

On Monday, two men in neighboring Sweden were convicted of terror crimes in connection with killings in Syria in 2013, and were sentenced to life in prison.