 Giovanni was defeated in the battle of Viterbo of 10 March 1354 and signed a treaty of submission.Albornoz then moved to the Marche and Romagna against the Malatesta of Rimini and the Ordelaffi of Forlì.The Papal commander Rodolfo II da Varano, lord of Camerino, defeated Galeotto Malatesta, forcing his family to become a loyal ally of the Pope.