Queen Joan fought the Pope's annulment of her marriage to Louis XII and ultimately retired to a convent. She was canonized in 1950.
Louis XI and Louis XII were cousins. Queen Joan was the daughter of King Louis XI and at age 12 was forced to marry Louis XII, who succeeded her brother King Charles and ascended to the throne on the latter's premature death. After he was free of Joan, Louis XII married Charles' widow.