The 19-year-old accused of killing 17 people at a Florida high school Wednesday was reportedly a member of the school’s marksmanship team, which received grants from the National Rifle Association (NRA).

The Associated Press reports Nikolas Cruz, the alleged gunman in the deadly mass shooting at Marjory Stoneman Douglas High School, was a member of the marksmanship team, which was part of the school’s Army Junior Reserve Officer Training Corps.

Cruz was reportedly wearing a shirt with the JROTC logo when he was arrested following the shooting.

ADVERTISEMENT

Former JROTC cadet Aaron Diener told the AP that Cruz was a member of the team and that he gave him a ride to a shooting competition where they competed together in 2016.

“He was a very good shot,” Diener said. “He had an AR-15 he talked about, and pistols.”

According to records obtained by the AP, the school’s JROTC program received $10,827 in “non-cash assistance” from the NRA Foundation, the organization’s fundraising and charitable group, in 2016, when Cruz was part of the team.

The NRA Foundation gave nearly $2.2 million to schools across the country in 2016. The Broward County Public School district, of which Stoneman Douglas High is a part, has at least four other schools that have received NRA donations, according to the AP.

Authorities say Cruz killed 17 people at the Parkland, Fla., high school on Wednesday when he opened fire with an AR-15 semi-automatic rifle.

Cruz legally purchased the rifle he allegedly used in the shooting, according to local law enforcement.