With the violation of the Polish constitution, the 1830 November Uprising broke out against foreign influence. The Polish-Russian war of 1831 ended in the uprising's defeat and in the curtailment of Congress Poland's autonomy. On 27 February 1861, a Warsaw crowd protesting against Russian control over Congress Poland was fired upon by Russian troops. Five people were killed. The Underground Polish National Government resided in Warsaw during the January Uprising in 1863–64.