The city of Cape Town had its origin in 1652, when the Dutch East India Company established a refreshment station for its ships on the shores of Table Bay. The location was magnificent, on well-watered, fertile soil, beneath the precipitous walls of Table Mountain. The indigenous inhabitants provided cattle but not labour, and the company imported slaves, mainly from East Africa, Madagascar, and the Bay of Bengal area. The slaves brought with them something of their culture and—especially in the case of the Muslims from the East Indies—their religion. Mixed-race unions took place, but strong racial and ethnic characteristics remained. In 1781 the French established a garrison to help the Dutch defend the city against British attack, and the French presence influenced local architecture and culture. British occupation in the 19th century brought new parliamentary and judicial concepts and freedom for the slaves. Cape Town was the gateway to Europe’s penetration of the South African interior, and close ties with continental Europe were maintained.
The first settlement of Cape Town was situated between Table Mountain and Table Bay. It was bounded on the northwest by the ridges known as Lion’s Head and Lion’s Rump (later called Signal Hill), on the north by Table Bay, on the south by Devil’s Peak, and on the east by marshlands and the sandy Cape Flats beyond. The nearest tillable land was on the lower eastern slopes of Devil’s Peak and Table Mountain and, farther to the southeast, at Rondebosch, Newlands, and Wynberg. From the fortress that protected the settlement, a track led south past these lands to False Bay on the eastern side of the Cape Peninsula and on beyond Muizenberg and Kalk Bay to Simon’s Bay, where the East Indiaman trade ships could find shelter from northwesterly winter gales. The constraints of mountain, sea, and sand shaped the direction of Cape Town’s growth, and the pattern was followed in subsequent road and rail construction. A railway line reached Wynberg in 1864 and Muizenberg in 1883, and another line ran eastward from Cape Town across the Flats to the interior