During the Middle Ages, Burgundy was ruled by dukes. In the 15th century it was very powerful. The dukes ruled lands as far north as the Netherlands. After Duke Charles the Bold died when he wanted to conquer the city of Nancy in 1477, France took southern Burgundy. It was a province until 1790. The House of Habsburg got the northern part, which later became the Southern Netherlands.