For Florence he seized Brescia and won the Battle of Maclodio (October 12, 1427). After these successes he was appointed "capitano generale" (commander-in-chief) of the Republic in 1431 and in 1432 he was sent as commander of coalition against Francesco I Sforza in Romagna, where he was victorious at the Battle of San Romano, and was commemorated in a painting of the battle by Paolo Uccello. A portrait of Niccolò was executed in Santa Maria Novella in memory of his deeds.