Fort Frederick in Port Elizabeth, South Africa, was built in 1799 in order to stop the French from conquering the Cape Colony during the Napoleonic wars and played a vital role in establishing British rule in South Africa in combination with the Battle of Blaauwberg.