Dordrecht received its city charter in 1220, making it the oldest city in former Holland (but not in the Netherlands). In 1421, the Saint Elizabeth flood flooded large parts of South Holland, making Dordrecht an island. The strategically valuable location of the town, which also had a stacking right, made it an important stacking market and trading centre from about 1299. Trade goods in the place were wine, wood and grain. The Hanseatic League knew how to put the trading centre of Bruges with the location of Dordrecht under political pressure successfully on several occasions.
On July 15/16, 1572, representatives of most of the cities of the Netherlands met in Dordrecht, in the building "Het Hof". There they made William of Orange their leader and declared their independence from Spain. This Dordrecht Assembly of Estates thus marked the beginning of the Dutch struggle for independence. In 1618/1619, an important religious meeting of the two Reformed churches of the Netherlands was held in Dordrecht as the Dordrecht Synod to deliberate on the Statenvertaling, the first Dutch translation of the Bible. It was opened and closed by the Dordrecht preacher Balthasar Lydius. In 1632, a synod called by the Dutch Mennonites adopted the Dordrecht Confession. In the 18th century the importance of Dordrecht decreased considerably in favour of Rotterdam.
Throughout the centuries, Dordrecht has occupied a key position in the defence of Holland. Until well into the 20th century, Dordrecht was a garrison town. Pioneers were stationed in the Benthienkazerne along the Oude Maas. During the mobilization in August 1939, crews were sent to Dordrecht to defend the island. During the German occupation, the Flußräumflottile Niederlande was stationed in Nieuwe Hafen from 1941 to 1945. Also during the Second World War, Dordrecht and its surroundings became the centre of the battles in the winter of 1944/1945. The border between liberated and occupied territory was then at Hollands Diep. In 1970, Dordrecht incorporated the previously independent village of Dubbeldam, as well as the part of the (preserved) municipality of Sliedrecht located on the island of Dordrecht.