Later he was at the service of Pope Martin V and of the Republic of Florence, being decisive at the Battle of San Romano against the Sienese. In 1434, after the treaty between Pope Eugene IV and Joanna (1434), Attendolo was made "Gran Connestabile" (commander-in-chief) of the Kingdom of Naples. Later he fought for the Neapolitan pretender Rene of Anjou.