Complex sentence: As early as 872 he was a candidate for the papacy, but due to political complications he left Rome and the court of Pope John VIII that year.
Split into simpler sentences: As early as 872 he had been a candidate for the papacy. But due to political complications he left Rome and the court of Pope John VIII in that year.