 Most castles of this type were built in the lowlands of rivers flowing into to the East and North Sea between Lower Saxony and Mecklenburg.Marsh castles are historically one of the oldest types of castle and were built as early as the Early Middle Ages by the Slavic peoples in the aforementioned areas.The distinction between them and moated castles is fluid.