France
The Carolingian dynasty ruled France until 987, when Hugh Capet became King of France. His descendants, the Direct Capetians, the House of Valois and the House of Bourbon, unified the country with many wars and dynastic inheritance.