With respect to these outer regions, the Qing maintained imperial control, with the emperor acting as Mongol khan, patron of Tibetan Buddhism and protector of Muslims. What was the name of the agreement between Britain and the Chinese that kept the British out of Tibet