The revolt of Genoa took place between Thursday 5 April and Wednesday 11 April 1849. Genoa was then part of the Kingdom of Sardinia, but had only become so comparatively recently, after the final defeat of Napoleon Bonaparte in 1815. The uprising broke out after King Vittorio Emanuele II had signed an armistice with the Austrian general Joseph Radetzky on 25 March to end the First Italian War of Independence. After the city was effectively occupied, Vittorio Emanuele II thanked General La Marmora in a letter.