Complex sentence: Catalina dressed as a man, and lived as a man, but confessed on her deathbed to being a woman, lived, and was given a special dispensation by the Pope to dress as a man.
Split into simpler sentences: Catalina dressed as a man, and lived as a man, but confessed on her deathbed to being a woman. She had been given a special dispensation by the Pope to dress as a man.