A student stabbed a school resource officer Tuesday morning at a high school in Wisconsin, leading the officer to shoot the student, police said.

The 16-year-old student confronted the officer in his office, according to Dean Smith, chief of the Oshkosh Police Department, and stabbed the officer with what Smith described as an edged weapon. The officer fired his gun one time, striking the student, Smith said in a news conference broadcast on WBAY.

Within two minutes of the call for help, an officer had arrived at Oshkosh West High School, and scores of other law-enforcement officers followed, Smith said. The student and officer were taken to local hospitals where they are being treated for injuries that are not believed to be life-threatening, Smith said.

A state criminal investigation agency will look into the incident, according to Oshkosh Area School District and police officials.

The incident followed one at a suburban Milwaukee high school Monday, in which police said a student at Waukesha South High School refused to drop a gun and was shot by a police officer, the Milwaukee Journal Sentinel reported.

The incident shut down the high school, with students evacuated to a nearby middle school to reunite with their parents.

All Oshkosh district schools will be closed Wednesday, according to Vickie Cartwright, the superintendent.