ADAMS (AP) — Authorities have released the name of the Massachusetts man accidentally killed when his neighbor shot a crossbow at a pair of attacking pit bulls.

The man killed in Adams on Wednesday afternoon was Joshua Jadusingh, 27, the Berkshire district attorney’s office said in a statement.

READ MORE: Coronavirus In Massachusetts: Today's Developments

Jadusingh was shot and killed in his apartment by a crossbow bolt that a neighbor had fired at dogs who were attacking Jadusingh, authorities have said.

The crossbow bolt struck one dog with a glancing blow, went through a door and hit Jadusingh in the room where he was trying to barricade himself.

The neighbor was a friend of the victim who had gone to his aid, District Attorney Andrea Harrington said at a news conference Thursday. The death is under investigation but the neighbor is not expected to face charges, she said. His name wasn’t released.

READ MORE: 4 Your Community: MGH Revere Food Pantry

One of the dogs belonged to the man who died. The other belonged to his girlfriend, who also lived in the home.

The adult male pit bulls were known to fight and were usually kept in separate cages, Harrington said.

The dogs were shot and killed by responding officers.

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

(© Copyright 2020 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)