The direct line of the House of Capet came to an end in 1328, when the three sons of Philip IV (reigned 1285–1314) all failed to produce surviving male heirs to the French throne. With the death of Charles IV (reigned 1322–1328), the throne passed to the House of Valois, descended from a younger brother of Philip IV. Royal power would later pass (1589) to another Capetian branch, the House of Bourbon, descended from the youngest son of Louis IX (reigned 1226–1270), and (from 1830) to a Bourbon cadet branch, the House of Orléans, always remaining in the hands of agnatic descendants of Hugh Capet.