Outraged with the further humiliation of Poland by her neighbors and the betrayal by the Polish nobility, and emboldened by the French Revolution unfolding in France, the Polish masses quickly turned against the occupying forces of Prussia and Russia. Following a series of nationwide riots, on 24 March 1794, Polish patriot Tadeusz Kościuszko took command of the Polish armed forces and declared a nationwide uprising against Poland's foreign occupiers, marking the beginning of the Kościuszko Uprising. Catherine II and Frederick William II were quick to respond and, despite initial successes by Kosciuszko's forces, the uprising was crushed by November 1794. According to legend, when Kosciuszko fell off of his horse at the Battle of Maciejowice, shortly before he was captured, he said "Finis Poloniae", meaning in Latin "[This is] the end of Poland."