There was unrest in Massachusetts in the 1780s as farmers struggled with debt and high taxes following the Revolutionary War. Daniel Shay organized protests and an armed rebellion in 1786-1787 with over 700 men to demand relief from debt collection and taxation. The rebels seized courthouses and attempted to take weapons from an armory but were defeated by militia in January 1787. Over 150 rebels were captured and some sentenced to death, though most received pardons. The rebellion revealed weaknesses in the government under the Articles of Confederation and contributed to calls for a stronger federal constitution.