in the early 12th century, saint-omer was an important port in western flanders. silting gradually cut it off from the north sea, resulting in the construction of a canal to the new coast at what is now gravelines. the name is derived from the dutch "gravenenga", meaning count's canal. the new town became heavily fortified as it guarded the western borders of spanish territory in flanders.