In 1824, the British occupied Rangoon and advanced within 72 km of the capital at Ava.