On 2 March 1815, British agents – including Robert Brownrigg and John D'Oyly – met with the nobility of the kingdom and concluded in a conference known as the Kandyan Convention. The resulting agreement allowed for the protection of Buddhism and the preservation of local systems of government under the authority of the British Governor in Colombo and supervised by British agents in Sabaragamuwa, the Three Korales, and Uva. In practice, however, local chiefs such as Ehelepola and Molligoda were acutely aware that they were ultimately answerable to the British, and were in practice junior to British military officers who now had free access to their domains.