The Battle of San Fermo, which took place the 27 May 1859 at a pass near Como in the northern part of Lombardy, was an engagement of the Second Italian War of Independence in which the Italian volunteers of Giuseppe Garibaldi's Hunters of the Alps defeated an Austrian force, forcing the Austrians to abandon Como.
The Hungarian troops took up defensive positions in the church of San Fermo and a nearby inn, from where they could command the valley approaches.
When the flanking forces attacked the third group, in the centre, launched a full frontal assault on the Hungarian positions in the church and the inn.
Garibaldi's men held off the Austrian attacks, and eventually Urban's army fell back into Como.
The Austrians still outnumbered Garibaldi's men, but the defeat on the San Fermo pass had badly affected Urban's morale.