A 17-year-old student shot and critically wounded two fellow students at a Maryland high school on Tuesday morning. The gunman was shot and killed after exchanging gunfire with a campus security officer, the county sheriff said. The shooting occurred just before 8 a.m. at Great Mills High School in St. Mary’s County, county Sheriff Timothy Cameron said. A 16-year-old girl and a 14-year-old boy were wounded and taken to hospitals. The girl was in intensive care with life-threatening critical injuries, the sheriff said, while the boy was in good condition. The gunman was identified as Austin Wyatt Rollins. Sheriff Cameron said there was “an indication” of a prior relationship between him and the female student, though he said that was still under investigation. Rollins pulled out a Glock semiautomatic handgun around 7:55 a.m. in a hallway and shot the students, the sheriff said. The attack lasted less than a minute, ending after the school resource officer, Deputy 1st Class Sheriff Blaine Gaskill, ran inside the building and engaged with Rollins, with both firing a single round almost simultaneously. The officer was not harmed, however Rollins was confirmed deceased after being taken to a hospital.