Police line crime scene
Police line crime sceneiStock

A New Mexico teen was identified by police on Tuesday as the gunman who killed three people in Farmington on Monday, before responding officers fatally shot him.

Beau Wilson, 18, was fatally shot by Farmington police who confronted him at about 11 a.m. MT on Monday, Deputy Police Chief Kyle Dowdy told reporters, according to NBC News.

Wilson was a student at Farmington High School, which was set to hold graduation ceremonies on Tuesday.

All three killed were elderly women, two in their 70s and one at least 90 years old, Deputy Police Chief Baric Crum said. The oldest victim was the mother of one of the other victims.

A doorbell camera captured what police believe were Wilson's first shots, fired at 10:56 a.m., a minute before Farmington police officers were dispatched to the neighborhood.

The officers arrived at 11:02 a.m. to find Wilson opening fire, before the gunman was brought down at 11:06 a.m., police said.

Two members of law enforcement, officers from the Farmington department and one from the state police, were injured but have been released from the hospital, Mayor Nate Duckett said.

The gunman appeared to fire at victims at random, as at least six houses and three cars were hit by gunfire, police said.

He used at least three weapons, including an AR-style rifle.

Farmington, with a population of a little over 46,000, is about 200 miles northwest of Santa Fe, the state's capital.