Two Georgia men have been sentenced to a combined 30 years in federal prison for conspiring with terrorists.

During two separate sentencing hearings Monday in Atlanta, a federal judge kept having to steer Syed Haris Ahmed and Ehsanul Islam Sadequee back to court proceedings.

23-year-old Sadequee, representing himself, chanted Arabic prayers from the Quran until the judge told him to wrap it up.

He and Ahmed faced life in prison for making homemade videos of U.S. landmarks to give to a terrorist group in Pakistan

The judge sentenced Sadequee to 17 years.

A few hours later, his co-defendant, 25-year-old Ahmed -- also representing himself -- brought his mother to the stand to testify through an interpreter he never helped terrorists.

Ahmed was sentenced to 13 years.

Neither will have access to the Internet while incarcerated.

Tags: Atlanta, Ehsanul Islam Sadequee, terrorist, Syed Haris Ahmed, federal court, terror, Islam, Quran