FRAMINGHAM, Mass. — The town of Framingham has reached a $3.75 million settlement with the family of grandfather accidentally shot and killed by police during a 2011 drug raid.

The town announced Wednesday that the settlement with the family of 68-year-old Eurie Stamps agreed to by the town’s insurance underwriter settles all claims against the town and police in a wrongful death and civil rights lawsuit filed by the family.

The grandfather of 12 was shot in the head after complying with police orders to get on the floor as a SWAT team executed a drug-related search warrant at his home. Stamps’ 20-year-old stepson was the target of the warrant.

A prosecutor’s investigation found that the officer pulled the trigger accidentally.

Stamps’ widow said in a statement the settlement “represents some justice.”