outlets was not enough to avoid heavy floods, and in 1248, a heavy storm again caused a lot of damage, so a dam was built at Spaarndam. This caused a fierce dispute with Haarlem, since that city was dependent on free access for ships to the IJ. The dispute was solved by building an extra sluice in 1253 for ships that could pass when the water levels on both sides of the sluice were the same. To emphasize that control over the sluices and dikes at Spaarndam were under the jurisdiction of the Hoogheemraadschap van Rijnland, Count Willem II granted the privileges to levy a toll on ships to the Dike wardens, and not to the city of Haarlem. It is this document from 1255 that is referred to in the painting by Caesar van Everdingen in 1654. From that point on, the heemraden at Spaarndam were called the heemraden van Rijnland. This would not be the last time that the city of Haarlem got into an argument with the Hoogheemraadschap van Rijnland. In 1514 a heavy storm broke the sluices and the dike at Spaarndam. Haarlem was happy to have the free passage of ships and refused to repair the dike. When the Hof van Holland decided in favor of repairs, Haarlem asked to have the dam (and sluices with their tolls) moved closer to the city. This would mean that Haarlem would have the dam on its own property, and they would have more control. The heemraden voted against it, and repairs were ordered. In 1517 the dam was not yet ready and Haarlem sent soldiers to destroy the work underway. Again the Hof van Holland needed to mediate the heated tempers and again the decision was in favor of the Heemraden. Haarlem was allowed its own sluice gate for small ships, the Klein Haarlemmersluis, which kept working until 1897, when a new sluice was built. To manage the finances of building and maintaining the dam and all its sluices, it was decided to split the costs (and toll income) among the water boards downstream. Haarlem paid for its own sluice gate, and the Woerdersluis was paid for by the Water board called the Grootwaterschap Woerden, which also released its water overflow via the Spaarndam sluices. Gemeenlandshuis The management of these complicated funding arrangements led to the formation of a new governing body in addition to the hoogheemraden,