A dam was built in 1260 across the river Rotte where the Hoogstraat is now. The name "Rotterdam" comes from this dam. The settlement was a regular fishing village at first, but became a thriving trading port pretty soon. The city got city rights in 1340 and city walls in 1360. Rotterdam became an important city in Holland in the middle of the 15th century when it won little wars against Delft and Gouda. From 1449 until 1525 a Gothic church ("Laurenskerk") was built. The city then hold about 10,000 people. The city revolted against Spanish occupation in 1573, becoming one of the main city's of the Eighty Years' War. The port of Rotterdam grew a lot in the late 16th century and early 17th century. In the end of the 17th century the city hold almost 50,000 people. But the city had not built outside of the city walls. The city became very crowded.