 By 1638 it had been renamed to Lifan Yuan, though it is sometimes translated in English as the "Court of Colonial Affairs" or the "Board for the Administration of Outlying Regions".This office reported to the Qing emperor and would eventually be responsible not only for the administration of Inner and Outer Mongolia, but also oversaw the appointments of Ambans in Tibet and Xinjiang, as well as Qing relations with Russia.Apart from day-to-day work, the office also edited its own statutes and a code of law for Outer Mongolia.