Overview
Louis XII (27 June 14621 January 1515) was King of France from 1498 to 1515 and King of Naples from 1501 to 1504. The son of Charles, Duke of Orléans, and Marie of Cleves, he succeeded his second cousin once removed and brother-in-law, Charles VIII, who died childless in 1498.
Before his accession to the throne of France, he was known as Louis of Orléans and was compelled to be married to his disabled and supposedly sterile cousin Joan by his second cousin, King Louis XI. By doing so, Louis XI hoped to extinguish the Orléans cadet branch of the House of Valois.
Louis of Orléans was one of the great feudal lords who opposed the French monarchy in the conflict known as the Mad War. At the royal victory in the Battle of Saint-Aubin-du-Cormier in 1488, Louis was captured, but Charles VIII pardoned him and released him. He subsequently took part in the Italian War of 1494–1498 as one of the French commanders.
When Louis XII became king in 1498, he had his marriage with Joan annulled by Pope Alexander VI and instead married Anne of Brittany, Duchess of Brittany in her own right and the widow of his cousin Charles VIII. This marriage allowed Louis to reinforce the personal Union of Brittany and France.
From Wikipedia (CC BY-SA 4.0).