By Melissa Chan
Updated: April 24, 2016 11:47 AM ET

At least two students were injured Saturday after a gunman opened fire outside a high school prom in Wisconsin, authorities said.

The shooter, who authorities identified as 18-year-old Jakob Wagner, “showed up with a rifle” outside of Antigo High School as the male and female students were leaving the prom, according to the Associated Press. The victims were shot as they walked out of the building and were taken to the hospital, the Antigo Police Department said in a statement

A police officer who was patrolling nearby heard the shots and fired at Wagner, “stopping the threat,” authorities said. Wagner died early Sunday morning in the intensive care unit, the AP reports. The female student was treated and released from a hospital, and the male student was undergoing surgery for injuries that weren’t life-threatening, according to the news agency.

It’s unclear if the parties knew each other. “All the people within the prom were eventually escorted from the school and are safe,” the Antigo Police Department said. “We believe the scene is secure and do not see a further threat to the community at this time.”

Contact us at editors@time.com.

SPONSORED FINANCIAL CONTENT

Read More From TIME

EDIT POST