During the Siege of Gaeta in late 1860 and early 1861, the forces of Victor Emmanuel II bombarded and eventually overcame the defenders. It was this brief "last stand of the Bourbons" that gained Maria Sophia the reputation of the strong "warrior queen" that stayed with her for the rest of her life. She was tireless in her efforts to rally the defenders, giving them her own food, caring for the wounded, and daring the attackers to come within range of the fortress cannon.