During the early to mid-19th century frontier wars between the British settlers and the local Xhosa inhabitants, East London served as a supply port to service the military headquarters at nearby King William's Town, about away. A British fort, Fort Glamorgan, was built on the West Bank in 1847, and annexed to the Cape Colony that same year. This fort is one of a series of British-built forts, including Fort Murray, Fort White, Fort Cox, Fort Hare, Fort Jackson and Fort Beaufort, in the border area that became known as British Kaffraria.