 In order to avoid invasion and buy time to consolidate his position in Epirus, Michael soon entered into negotiations with Pope Innocent III, and concluded treaties with the Latin Empire and the Republic of Venice.In the meantime, his rule received a boost in legitimacy when he ransomed the deposed Alexios III from captivity.According to later chroniclers, Alexios III conferred the hereditary rule of Epirus to Michael and his descendants.