Complex sentence: In the most common accounts, due to her abilities, she rises through the church hierarchy, eventually being elected pope; however, while riding on horseback, she gives birth, thus exposing her gender.
Split into simpler sentences: In the most common accounts, due to her abilities, she rises through the church hierarchy, eventually being elected pope. However, while riding on horseback, she gives birth, thus exposing her gender.