The Treaty of Yandabo was signed on 24 February 1826, ending the First Anglo-Burmese War, which lasted from 1824 to 1826. This treaty forced Burma (under the Konbaung dynasty) to cede territory to the British, pay a large indemnity, and accept a British resident in their capital, significantly weakening the Burmese kingdom and setting the stage for future British annexations in the Second and Third Anglo-Burmese Wars.