The Amsterdamse Poort is an old city gate of Haarlem, 30km from Amsterdam. It was created in 1355 and is the only remaining city gate from the defenses of Haarlem. Until the 17th century it was the city gate used for traffic by land eastwards towards Spaarnwoude. In 1631 the Haarlemmertrekvaart was dug, which shortened the waterway from Haarlem to Amsterdam considerably. Until that time, boats bound for Amsterdam did not pass here, but traveled up the Spaarne river to pass the small sluice gate at Spaarndam, in order to reach the "IJ" waterway in Amsterdam.