A Texas teen was sent to in-school suspension for an American flag t-shirt, according to a report.

Seagoville High School student Jaegur Goode was punished after a teacher asked him to lift his hoodie and decided that Goode’s American flag t-shirt violated the school’s dress code.

The school requires that students wear solid color shirts, and the only exceptions to this rule are school logos and apparel that supports the military.

FOX 4 reported that the student’s mom, Shelley Goode, asked for an explanation of the suspension in writing. The principal apologized shortly thereafter and told her that flag shirts could be worn at school.

The suspension won’t be put on Goode’s record.

College Syllabus: Please Refrain from Saying 'God Bless You'

University to Students: Call 911 over 'Bias Incidents'

Teen Sent Home After School Says Her Shirt Glamorized Suicide