 When the city was returned to the Papal States in 1248, Guido was able to return and was made chief of the local council.In 1270, after the death of Bishop Felix, he divided the power in the city and that of Comacchio with Guido Riccio da Polenta, in collaboration with the other major Ravennate family, the Traversari.However, Guido and Guido Riccio soon were at war, and Guido allied with the Malatesta of Rimini in order also to counter Guido I da Montefeltro who had conquered Forlì and Cervia.