text: The British then captured Accra in 1874 , and in 1877 , at the end of the second Anglo-Asante War , Accra replaced Cape Coast as the capital of the British Gold Coast colony because Accra had a drier climate relative to Cape Coast , and was not home to the tsetse fly hence allowing the use animal transport .
simplified: In 1877 , at the end of the second Anglo-Asante War , Accra replaced Cape Coast as the capital of the British Gold Coast colony .