North Andover and Andover fire departments will split more than $8,100 in state grants to send firefighters into schools and senior centers to teach fire safety.

The Massachusetts Department of Fire Services announced the awards Monday, Nov. 9 as part of a nearly $2 million statewide grant round. In all, 244 local fire departments across the state will receive funding.

North Andover's share totals $4,602.73: $3,134.91 for the Student Awareness of Fire Education (SAFE) program and $1,467.82 for Senior SAFE. Andover received $1,500 in SAFE funding and $2,073.55 for Senior SAFE, a combined $3,573.55.

The money pays for two programs run by the Department of Fire Services. SAFE sends trained firefighter-educators into schools to teach young people about fire prevention. Senior SAFE reaches older adults through senior centers, councils on aging and home visits, covering fire and fall prevention, smoke and carbon monoxide alarm installations, and home safety assessments.

Nearby departments also received grants, as WHAV reported. Haverhill was awarded $7,383.87 for SAFE and $2,819.29 for Senior SAFE. Methuen received $10,998.16 and $4,200, respectively.

Statewide, departments in 239 cities and towns will share $1,237,610.84 in SAFE funding. Another 240 departments will divide $562,389.16 in Senior SAFE money.

"These grants will help local fire departments teach children and older adults how to prevent fires, respond to emergencies and stay safe at home," Gov. Maura Healey said in the announcement.

The SAFE program launched in the mid-1990s after child fire deaths in Massachusetts climbed into the dozens each year. Since then, the state has recorded some of its lowest numbers, including two and a half straight years with zero child fire fatalities, according to the Department of Fire Services. Senior SAFE began in 2014 to address older adults, who account for about half of fire deaths in Massachusetts and nationally each year.

State Fire Marshal Davine called the programs "an investment in safety that pays off every single day."