KALAMAZOO, Mich. (WOOD) — A surprise twist in the trial of Kalamazoo shooting spree suspect Jason Dalton led to a wave of emotion in the courtroom Monday.

Dalton pleaded guilty to all the crimes he was charged with, including six counts of murder for the shooting deaths of Rich and Tyler Smith, Mary Lou Nye, Mary Jo Nye, Judy Brown and Barbara Hawthorne.

Dalton also pleaded guilty to two counts of attempted murder for the shootings that seriously injured Tiana Carruthers and Abigail Kopf, and eight counts of felony use of a firearm in connection to the Feb. 20, 2016 shooting rampage.

>>Photos: Jason Dalton in court, pleads guilty