Testimony has concluded in the trial of three Minnesota men accused of plotting to travel to Syria to join the Islamic State group.

Twenty-two-year-old Abdirahman Yasin Daud, 22-year-old Mohamed Abdihamid Farah and 21-year-old Guled Ali Omar have pleaded not guilty to multiple counts, including conspiracy to commit murder outside the United States, which carries a possible life sentence.

Prosecutors spent more than two weeks presenting evidence that they say shows the men were part of a larger group of friends who conspired to travel to Syria. Evidence included recordings made by an FBI informant.

Omar is the only defendant who testified. He said he had doubts about the plan, and was just trying to show off when he made statements recorded by his former friend.

Closing arguments will begin Tuesday.