CHICOPEE – A judge set bail for a man accused of shooting a father and son and attempting to shot police officers at $100,000 cash or surety in Chicopee District Court Tuesday.

During a dangerousness hearing, Judge Mark Mason agreed to release William T. Wright, 34, of Westfield, on bail and set a variety of conditions including he have no contact with the victims, Nicholas Bergeron, 20, and his father, Corey Bergeron, 43.

His case was continued until March 5.

Wright is being accused of breaking into the Bergeron home on 103 Madison St., Feb. 18, and demanding money at gunpoint. As he was leaving, the father and son tackled him and both were shot but escaped serious injuries. Nicholas Bergeron told The Republican that he didn't know why Wright targeted their home.

Shortly afterward police spotted the man in the neighborhood. When three police officers attempted to arrest him, Wright grabbed a patrolman’s weapon and the four grappled for the gun, police said. The gun went off, narrowly missing hitting an officer in the head.