After Holland had conquered the mouth of the river, count Floris V built the first stone castle here. Not as a residence, but as a demonstration of force.
On the 400 year long struggle between Holland and Utrecht for control over this territory see :
An interesting painting, this 17th century winter landscape.
There are a few video clips featuring the castle on the countryside video-page.
And here's a direct link to the website of castle Muiderslot.