The movie is based on the medieval legend of Pope Joan, a woman who briefly held the papacy around 855 AD, despite doubts over her actual existence.
Pope Joan
A courageous young woman defies convention in medieval Europe by embracing her love of theology, disguising herself as a man, and eventually ascending to the highest echelons of the Catholic Church, becoming the first female Pope in history.