Medemblik (Dutch pronunciation: [ˈmeːdəmblɪk] ⓘ) is a municipality and a city in the Netherlands, in the province of North Holland and the region of West-Frisia.
After Floris V was murdered in 1296, the local Frisians besieged the castle, but in 1297 an army from Holland thwarted their efforts to starve out the inhabitants, which included Medemblik citizens.
The most notorious of these happened in June 1517, when Medemblik was attacked from mainland Frisia by about 4000 pirates known as the Arumer Zwarte Hoop, led by Pier Gerlofs Donia and Wijard Jelckama.
[7] After Medemblik town walls were constructed in 1572, the castle lost its role as a refuge for the citizens, which led to its partially dismantling in 1578.
Anticipating the German invasion, the Rijksmuseum in September 1939 chose the castle as the initial hiding place of Rembrandt's Night Watch.