STONEHAM (AP) — Funeral services have been held for a Massachusetts firefighter who authorities say was shot by a friend while they were drinking and playing with a handgun.

David Atherton was laid to rest Thursday in the veterans section of Lindenwood Cemetery in Stoneham following a funeral Mass at St. Patrick’s Church.

READ MORE: Kyle Van Noy Hosts Christmas Party For Foster Children In Need

Police have said Atherton’s friend Patrick Riccardi-O’Connor admitted shooting him on June 28 while they were “fooling around with the gun.”

Riccardi-O’Connor has pleaded not guilty to involuntary manslaughter. He told police he didn’t think the gun was loaded.

READ MORE: 'Get Vaccinated And Get Boosted': Gov. Baker Pushes COVID Shots In Brockton

The 24-year-old Atherton and the 23-year-old Riccardi-O’Connor were military police officers in the Massachusetts Army National Guard. They had been friends since childhood.

A large contingent of firefighters and Guardsmen attended the services for Atherton.

Copyright 2016 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.

MORE NEWS: Car Involved In Holbrook Crash Was Stolen From Amazon Driver, Police Say

WBZ NewsRadio 1030’s Doug Cope reports