Editor's note: This story was updated at 5 p.m. Tuesday to reflect new information from University of Iowa officials.

A University of Iowa student has been charged with threat of terrorism after police say he threatened to bring a gun to a university ceremony.

Soliman Obaid B. Altamimi, 25, went to the University Capitol Center around 11:30 a.m. Friday and asked to make a speech at "the final ceremony," according to UI police complaints.

When staff told Altamimi he couldn't give a speech, he replied that he "will bring a gun" to the ceremony.

Altamimi admitted to officers that he made the statement, the complaint states.

UI officials said Tuesday that Altamimi's statement was made in regard to the final ceremony for UI's Intensive English Program. That event took place Friday evening.

Police say Altamimi made a similar statement on Nov. 11, 2016, when he said he would bring "a gun to the International Programs Office and shoot international students."

Online court records do not show any charges resulting from that incident.

Regarding the November incident, UI officials said campus police received a report at the time from another student who shared concerns about Altamimi's statements.

"Those concerns were taken seriously and UIPD followed up with Mr. Altamimi at that time," Tricia Brown, a university spokesperson, said Monday via email.

Sweeping changes to Iowa's gun laws signed by Gov. Terry Branstad last month created confidentiality for firearms permit holders, making it impossible to verify whether Altamimi has a permit to own or carry a firearm.

UI officials described Altamimi as a non-degree seeking student in the College of Liberal Arts and Sciences. He is currently enrolled as a student, UI confirmed.

UI officials declined to provide details about any additional security measures in place for the university's graduation ceremonies later this month, citing safety concerns, but said the university "is committed to providing a safe environment for its students and their families."

"The UI encourages students and their families to attend and enjoy spring commencement ceremonies," Brown said.

Threat of terrorism is a class D felony punishable by up to five years in prison. Police complaints also show Altamimi has been charged with third-degree harassment, a simple misdemeanor punishable by up to 30 days in jail.

Altamimi is currently being held in the Johnson County Jail on $12,000 bond.

Reporter Jeff Charis-Carlson contributed to this report.

Reach Stephen Gruber-Miller at 319-887-5407 or sgrubermil@press-citizen.com. Follow him on Twitter: @sgrubermiller.