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. the monarchy was the most powerful during the 17th century and the reign of louis xiv of france. at that time, france had the largest population in europe. the country had a big influence over european politics, economy, and culture. french became the common language of diplomacy in international affairs. much of the enlightenment happened in france. french scientists made big scientific discoveries in the 18th century. france also conquered many overseas possessions in the americas and asia.