ANTIGO, Wis. --Officials praised the quick actions of police and district staff to stop an 18-year-old gunman, saying they averted what could have been a much worse attack on a high school prom in Wisconsin.
Two students were injured when the gunman - identified by police as Jakob E. Wagner - fired a rifle on them as they left Antigo High School on Saturday night. A police officer already at the scene fatally shot Wagner in the parking lot.
Students headed back to class Monday morning.
The Unified School District of Antigo said there will be a heightened police presence at the high school for the next several days and students will have support from counselors and others.
Investigators have not discussed a possible motive or said whether they believe the students were specifically targeted. But a school administrator said it appeared Wagner intended to go into the dance and start shooting randomly.
"We have no reason to believe at this point it was targeting anybody specifically," interim district administrator Donald B. Childs told The Associated Press on Sunday, adding that the shooting at the entrance happened "from some distance."
Wagner approached the school with a high-powered rifle and a large ammunition clip, school administrators said in a statement. The district said the "quick actions" taken by police and district staff to secure the building "prevented what might have otherwise been a disaster of unimaginable proportions."
The two prom-goers who were wounded were shot as they exited the building, according to Eric Roller, the chief of police in Antigo, a community of about 8,000 people roughly 150 miles north of Milwaukee.
"Officers were in the parking lot patrolling the activities and heard the shots and an officer immediately fired upon the shooter, stopping the threat," Roller said. He said the gunman was then taken into custody. Wagner died at a hospital.
Gov. Scott Walker joined in praising the police response, saying in a statement the actions of the Antigo Police Department "undoubtedly saved lives."
The female victim was treated and released and the male victim was undergoing surgery for injuries that weren't life-threatening, police said. Childs said the wounded boy, who was shot in the leg, attended the high school but that his date, who was grazed in the shooting, was from out of state.
Nikita Deep, a student at the school who attended the prom, told the Wausau Daily Herald that police officers came into the building and moved students to one corner. Students weren't released until about 2 a.m. Sunday, three hours after the shooting.
"We heard there was a situation, but I thought it was some kind of drug bust," Deep said. "Then they flipped the lights and then about 12 officers came in and are armored. We were all frightened."
Friends said Wagner was a senior at Antigo High School in 2015, but Childs said he did not graduate with his classmates and was continuing to work on his diploma. He said the school of about 750 students will have counselors available when classes resume Monday.
Friends expressed shock that Wagner was the suspect.
"For him to do that, something just isn't right. He was a good kid," said Dakotta Mills, who said he had known Wagner since sixth grade and considered him a "foster brother."
Wagner was interested in guns and wanted to become a hunter, Mills said, but he wasn't sure Wagner could afford a gun. He said Mills was raised by his mother and grandparents and was still living at home.
Wagner loved video games and music, particularly violin and cello, and had been in the school marching band, Mills said.
Dylan Dewey, who graduated from Antigo High last year, said Wagner had been dating a girl at the school who broke up with him last month. He described Wagner as an "all-around good guy" who enjoyed hanging out with friends.
The Wisconsin Department of Justice's Division of Criminal Investigation has been asked to lead an outside review of the officer-involved shooting, agency spokesman Johnny Koremenos said.