Robert II (c. 972 – 20 July 1031), called the Pious (French: le Pieux) or the Wise (French: le Sage), was King of the Franks from 996 to 1031, the second from the Capetian dynasty. Crowned Junior King in 987, he assisted his father on military matters (notably during the two sieges of Laon, in 988 and 991). His solid education, provided by Gerbert of Aurillac (the future Pope Sylvester II) in Reims, allowed him to deal with religious questions of which he quickly became the guarantor (he headed the Council of Saint-Basle de Verzy in 991 and that of Chelles in 994). Continuing the political work of his father, after becoming sole ruler in 996, he managed to maintain the alliance with the Duchy of Normandy and the County of Anjou and thus was able to contain the ambitions of Count Odo II of Blois.
Robert II distinguished himself with an extraordinarily long reign for the time. His 35-year-long reign was marked by his attempts to expand the royal domain by any means, especially by his struggle to gain the Duchy of Burgundy (which ended in 1005 with his victory) after the death in 1002 without male descendants of his paternal uncle Duke Henry I, after a war against Otto-William of Ivrea, Henry I's stepson and adopted by him as his heir. His policies earned him many enemies, including three of his sons.