All the hostages have been released from a US high school classroom where an armed student had held them, officials said.
The Marinette County Emergency Management office in Wisconsin said all 23 students and a teacher were freed.
They were held for five hours by the student.