The County of Flanders was one of the most powerful political entities in the medieval Low Countries, located on the North Sea coast of what is now Belgium. Unlike its neighbours such as the counties of Brabant and Hainaut, it was within the territory of the Kingdom of France. The counts of Flanders held the most northerly part of the kingdom, and were among the original twelve peers of France. For centuries, the economic activity of the Flemish cities such as Ghent, Bruges and Ypres made Flanders one of the most affluent regions in Europe, and also gave them strong international connections to trading partners.
Up to 1477, the core area under French suzerainty was west of the Scheldt and was called "Royal Flanders" (Dutch: Kroon-Vlaanderen, French: Flandre royale). Aside from this, the counts, from the 11th century onward, held land east of the river as a fief of the Holy Roman Empire: "Imperial Flanders" (Rijks-Vlaanderen or Flandre impériale). The county joined its Low Country neighbours within the Burgundian Netherlands from 1384, which eventually complicated its relationship with France. Most of the county became part of the Empire after the Peace of Madrid in 1526 and the Peace of the Ladies in 1529.
By 1795 the entire Austrian Netherlands, the successor of the Burgundian Netherlands, was acquired by France under the French First Republic, and this was recognized by treaty in 1797. After the Battle of Waterloo in 1815, these territories, including most of the old county of Flanders, passed to the newly established United Kingdom of the Netherlands, which was split up between 1830 and 1839 into the modern countries of Belgium, Luxembourg and the Netherlands. The territories of the old county are now the only part of the late medieval French kingdom outside of modern-day France, Catalonia having been renounced in 1258.
The term Flanders originally referred to the area around Bruges. It is first mentioned in the biography of Saint Eligius (590–660), the Vita sancti Eligii. The work was written before 684 but has been known only since 725.