Julie d’Aubigny (1670–1707), better known as Mademoiselle Maupin or La Maupin, was a 17th-century swordswoman and opera singer. Her tumultuous career and flamboyant life were the subject of gossip and colorful stories in her own time, and inspired romances and novels afterwards.
Her father trained her in dancing, literacy, drawing and fencing, possibly for self-defense. While in her teens she became a mistress of the Count d’Armagnac and through him was introduced to court.
In the following years, d’Aubigny gathered a reputation as a wild woman who hit shopkeepers[clarification needed] and fought duels with young aristocrats. She became involved with an assistant fencing master named Serannes. About 1688, when Lieutenant-General of Police Gabriel Nicolas de la Reynie tried to apprehend Serannes for killing a man in an illegal duel, the pair fled the city to Marseille.
Eventually, she grew bored of Serannes and became involved with a young lady. When the girl’s parents put her away in the Visitandines convent in Avignon, d’Aubigny followed, entering the convent as a novice. There she stole the body of a dead nun, placed it in the bed of her lover and set the room afire to cover their escape. Their affair lasted for three months before the young lady returned to her family.
Via Wikipedia which has the full tumultuous story of her life.