Texas police are investigating a firework that ignited Tuesday in the cafeteria at Klein Forest High School in Houston, which injured four students and forced an evacuation.

Representatives for the school district sent out a tweet saying students and staff were safely evacuated, but investigators were still determining the origin of the blast. One student was detained and police said they were still looking out for potential suspects.

"There has been an incident at Klein Forest High School. All students and staff are safe. The building has been evacuated. Do NOT come to the campus. More information to follow," the school district announced.

3 STUDENTS ACCUSED OF PLOTTING TO BOMB LONG ISLAND SCHOOL USING 'THE ANARCHIST COOKBOOK'

Local, state and federal agencies were reviewing the school's surveillance video to determine who may have been responsible.

"A lot of students were in the area when it happened," school district spokesman Justin Elbert said. About 3,400 students were enrolled at the high school.

The firework had been placed in a secondary container when it was set off, school district police chief David Kimberly said. Two students were injured by the firework while two others were hurt as they tried to run away and tripped or fell, Harris County Fire Marshal Laurie Christensen added.

CLICK HERE TO GET THE FOX NEWS APP

All after-school activities reportedly were canceled.

Despite minimal damage to the building, law enforcement promised to bring charges when they determined the culprit.

The Associated Press contributed to this report.