A militia that had been raised as a private army defeated an attack on the federal Springfield Armory by the main Shaysite force on February 3 , 1787 . A militia that had been raised as a private army defeated an attack on the federal Springfield Armory by the main Shaysite force on February 3 , 1787 , and four rebels were killed in the action .