Ships have called at this natural harbour for thousands of years, some from as far away as China and Rome. From the 8th century Arab merchants settled here and came to control much of what the island's kings bought and sold overseas. Ibn Battuta visited the island in the 14th century and called the place Kalanpu. The name is believed to come from Sinhala, from kolon thota, the port on the Kelani River, which still marks the city's northern edge.
The Portuguese arrived in 1505 under Lourenço de Almeida and struck a deal with Parakramabahu VIII, king of Kotte: a trading post and the cinnamon trade in return for guarding his coast. By 1517 they had thrown out the Muslim residents and started a fort. The kings of Sitawaka besieged it again and again, but after their kingdom fell in 1593 the Portuguese held the whole coast with Colombo as their capital. The district names you use today come from that fort: Fort, and Pettah, the 'outer fort' outside its walls.
The Dutch allied with the king of Kandy in 1638 and took Colombo in 1656 after a long siege; only 93 Portuguese walked out. Rather than hand the land back to Kandy, they kept the rich cinnamon country and ran their coastal provinces from here for the Dutch East India Company until 1796. Nothing Portuguese survives, but the Dutch left a few buildings: the old Dutch Hospital, the oldest in Fort and now restaurants and shops, and Wolvendaal church. The Dutch Period Museum on Prince Street tells the story of their rule.
The British seized Colombo in 1796, during the Napoleonic Wars, and made it the capital of British Ceylon in 1815. They built a civilian city around the fort, then pulled down the ramparts in the late 19th century once nobody threatened the harbour. The Municipal Council first met in 1866, when about 80,000 people lived here. Much of what you walk past in the city dates from this time: the Galle Face Hotel, the Grand Oriental, Cargills, and in places old tram rails and granite paving.
Ceylon became independent without a fight in 1948 and a republic in 1972; Independence Memorial Hall in Cinnamon Gardens marks the first date. Parliament moved to Sri Jayawardenepura Kotte, a suburb, in 1982, and that is the official capital. Colombo kept the money, the port and most of the embassies, and to many people it is still the capital in all but name.
The port is still busy, and by some counts the busiest in the Indian Ocean. The skyline keeps changing. The twin World Trade Centre towers went up in 1997 where British barracks once stood, and the new financial city on reclaimed land has hemmed in the old lighthouse.