Complex sentence: Valdemar was released from captivity in 1226 and appealed to Pope Honorius III to have his oath repealed, a request the Pope granted.
Split into simpler sentences: Valdemar was released from captivity in 1226. Valdemar appealed to Pope Honorius III to have his oath repealed, a request the Pope granted.