The senior line of the House of Bourbon became extinct in the male line in 1527 with the death of Charles III, Duke of Bourbon. This made the junior Bourbon-Vendôme branch the genealogically senior branch of the House of Bourbon. In 1589, at the death of Henry III of France, the House of Valois became extinct in the male line. Under the Salic law, the Head of the House of Bourbon, as the senior representative of the senior-surviving branch of the Capetian dynasty, became King of France as Henry IV. Bourbon monarchs then united to France the small kingdom of Navarre, which Henry's father had acquired by marriage in 1555, ruling both until the 1792 overthrow of the monarchy during the French Revolution. Restored briefly in 1814 and definitively in 1815 after the fall of the First French Empire, the senior line of the Bourbons was finally overthrown in the July Revolution of 1830. A cadet Bourbon branch, the House of Orléans, then ruled for 18 years (1830–1848), until it too was overthrown.