There is a legend in papal history regarding a certain Pope John VIII, who is believed to have reigned between 853 – 855 AD. The reason this pope is so famous is that legends state that “he” was in fact a woman, making her the first (and only) female pope in history.
Legend has it that she was a very talented and intelligent woman who, with the help of disguising herself as a man as education was forbidden to females in those times, quickly rose in the church hierarchy to eventually become the pope. After a couple years of power, her true sex was discovered when she gave birth to a child one day.
There is reasonable evidence of her existence, ironically through the extensive cover up of her existence by the church. After finding out that she was a woman, history tried its best to forget the fact by constantly removing evidence of her existence. For example, in the 14th century a series of busts of past popes were made for the Duomo of Siena, one of which was named “Johannes VIII, Foemina de Anglia”, suggesting a female pope by the name of John VIII.
It is possible that she managed to deceive people of her gender by having a form of adrenal hyperplasia, which would lead to her having abnormally high levels of androgen during development. This would lead to ambiguous secondary sex characteristics, such as facial hair, androgynous appearance and possibly even an ambiguous genitalia (but of course she would have had a mild form as she was able to conceive and birth a child).
Pope Joan had a significant impact in papal traditions. Two which are famous are the change in the papal procession path and the sedia stercorania.
The childbirth scene that exposed her occurred during a papal procession, whilst passing a narrow lane. That lane is no longer passed after that event occurred.
The sedia stercorania is a chair with a hole in it that was used to install new popes. The reason for the hole was so that a junior cardinal could reach below the chair on which the pope was sitting on, and check whether he had testicles, after which he would announce: “Duos habet et bene pendentes” (he has testicles and is well hung). This became a compulsory examination after the scandal of Pope Joan.