sentences:  The area with castle ruins in Maasdam is officially protected as a Rijksmonument.Most of the village of Maasdam and surrounding areas, including the castle, were destroyed during the second St. Elizabeth's flood (1421), although the main dyke in Maasdam as well as the hamlet and polder of Sint Anthoniepolder and hamlet of Cillaarshoek survived.Successful restoration was hindered by further floods as well as the Hook and Cod Wars but eventually Maasdam was restored to its former size soon after Philip the Good allowed his treasurer Jan Nemery, who had been the vassal of Maasdam for almost two decades, in 1435 to reclaim the polders next to the surviving dyke in Maasdam from the sea.