Student gunman dies after Maryland school shooting; 2 other students injured

The scene at Great Mills High School in St. Mary's County, Md., after a shooting there, Tuesday, March 20, 2018. (WJLA)

GREAT MILLS, Md. (WJLA) - A 17-year-old student is dead after he shot a 16-year-old girl and a 14-year-old boy Tuesday morning at a high school in St. Mary's County, Maryland.

The St. Mary's County Sheriff's Office said it happened at Great Mills High School. The shooter was identified as 17-year-old Austin Wyatt Rollins. ABC7's Brad Bell said sources first told him that Rollins was a student, as were the two victims.

Officials said that Rollins had a relationship with the girl who was critically injured in the shooting and that he used a Glock pistol in his attack. The 14-year-old boy was in stable condition.

Police also confirmed that it was the school resource officer who took action to end the threat. Authorities say that Rollins fired his gun at the same time as the officer and they are investigating how Rollins died.

RELATED: Officials: School resource officer stopped Maryland school shooter

ABC7's Jonathan Elias spoke with the school superintendent who told him Rollins was a high achiever and a well-liked student with no blemishes on his record. He said there have been no threats ever identified as being made by Rollins or about him.