Amsterdam has a long and eventful history. The origins of the city lie in the 12th century, when fishermen living along the banks of the River Amstel built a bridge across the waterway near the IJ, which at the time was a large saltwater inlet. Wooden locks under the bridge served as a dam protecting the village from the rising IJ waters, which often flooded the early settlement. The mouth of the river Amstel, where the Damrak is now, formed a natural harbor, which became important for trading-exchange from the larger koggeships into the smaller ships that sailed the merchandise deeper into the hinterland.
The oldest document referring to the settlement of "Aemstelredamme" (Amsterdam) 'dam in the river Amstel' comes from a document dated October 27, 1275 CE. Inhabitants of the village were, by this document, exempted from paying a bridge toll in the County of Holland by Count Floris V.
Excavations between 2005 and 2012 found evidence that the origins of Amsterdam are much older than 'only' the twelfth century. During the construction of the Metro "Noord-Zuid lijn" archeologists discovered, some 30 meters below street level, pole-axes, a stone hammer and some pottery, all dating from the Neolithic era (New Stone Age). This would mean Amsterdam or its predecessor would have seen human habitation since about 2600 BCE.
In 1204, the inhabitants of Kennemer penetrated the first aggrem Aemestel, the castle at the Amstel dike, thus resulting in the destruction of the house of Gijsbrecht van Aemstel, who, by name of the Bishop of Utrecht, ruled the area. This event was later used by the Dutch poet Joost van den Vondel to write a historical play, the Gijsbrecht van Aemstel, which since then has been staged every first week of the new year. A hundred years later (1304), his descendent, Gijsbrecht van Aemstel VI, tried to claim his alleged rights over the Amsterdam regions, but found himself and his family banished to Flanders.
A more important year in the history of Amsterdam was 1275. While Aemstelland fell under the administrative jurisdiction of the Prince-bishop's Sticht Utrecht, Count Floris V of Holland -the hindland of Aemstelland, granted traders, sailors and fishermen exemption from tolls. This document, dated October 27, 1275, is the oldest recorded usage of the name "Aemstelredamme" - Amsterdam. This meant the inhabitants from the vicinity of Aemstelredamme acquired a right to travel freely through the County of Holland without having to pay tolls at bridges, locks and dams. This was the very start of the later richness of the young evolving city: by not having to pay tolls, traders could sell merchandise, shipped to Aemstelredamme harbour from everywhere (Scandinavia, Denmark, Germany), at a more competitive price in Amsterdam and the hinterland. After the murder of Count Floris V in 1296, Amstelland again belonged to the Sticht. By 1327, the name had developed into Aemsterdam.