<prompt> Translate the following text to EnglishMapambano ya papacy na utawala wa Guelphs yaligawanya nchi katika makundi mawili: Guelphs, ambayo iliunga mkono papa, na Ghibellines, ambayo iliunga mkono maliki.  <response>: His power struggle with the papacy divided the country into two highly volatile camps Guelfs supporting the pope and Ghibellines supporting the emperor. 