Brandon Spangler, 17, of Flushing, Mich., was unloading paintball gear from a car with his father and three brothers on a farm in Shelby, Ind., on Friday when he was struck by a burst of gunfire, Shelby County cops said.

Brandon was pronounced dead at the scene, authorities said.

Investigators said the central Indiana farm’s owner, Jason Bagley, 41, pulled the trigger after he heard a rustling in some trees near his house and thought it was a pack of coyotes, local NBC 13 reported.

Bagley told police that he knew the Spanglers and had given them permission to play paintball on his property, but he didn’t know the family would be there on Friday because they hadnâ€™t called ahead, NBC reported.

Using a hunting rifle, he fired multiple times at the wooded area, unknowingly shooting Brandon in the shoulder, cops said.