In the 13th and 14th centuries, the cloth industry and commerce boomed especially in the County of Flanders and it became one of the richest areas in Europe. This prosperity played a role in conflicts between Flanders and the king of France. Famously, Flemish militias scored a surprise victory at the Battle of the Golden Spurs against a strong force of mounted knights in 1302, but France soon regained control of the rebellious province.