Until the beginning of the 17th century, the primary waterway between Amsterdam and Haarlem was the IJ, a bay of the Zuiderzee.