 At some point in the Middle Ages, the Middelzee, the bay connecting Leeuwarden to the wider ocean, silted up completely, and as a result its harbor became unusable.The risk of the harbor of Dokkum silting up was much smaller, so a direct waterway connection between the two cities was created