Veurne, in Latin "Furna", is first found in 877 as a possession of the Saint Bertin Abbey in Saint-Omer. Around 890 AD, it was noted as a successful fortification against the Viking raids. It soon was placed at the head of the castellany of Veurne, a large territory counting 42 parishes and some 8 half-independent parishes, owing allegiance to the Count of Flanders. Veurne became a city in the 12th century. During the following century, trade with England flourished. In 1270, however, the relations with England came to a standstill and the city's economy went into a long decline; hence the nickname of the Veurne Sleepers. On August 20, 1297, the Battle of Veurne was fought in the ongoing struggle between the Flemish cities and the French king.