Altan Khan (1507-1582), chieftain of the Tumed Mongols and grandson of Dayan Khan, called 'Anda' by the Ming — the actual overlord of the right-wing Mongols in the sixteenth century. He settled the Fengzhou plain (the Tumed plain) with farming colonies and walled towns, sheltered Chinese artisans and farmers, and from 1572 built Koke-khota (modern Hohhot), which the Ming named Guihua ('transformed by civilization'). In 1550 he swung through Gubeikou and stood before the walls of Beijing — the Gengxu alarm — exposing the decay of the Ming garrison system, and raided the frontier year after year. In 1571, through the planning of Zhang Juzheng and Wang Chonggu, the Ming and Altan concluded the Longqing peace: the Ming enfeoffed him Prince Shunyi, opened horse markets at Datong, Xuanfu and elsewhere, and Mongol-Chinese trade held steady for decades — the frontier at last quiet, the most successful case of the old trade-and-restraint tradition on the northern border. In 1578 he met the Gelug leader Sonam Gyatso at the Yanghua temple in Qinghai and conferred on him the title 'Vajradhara Dalai Lama' — the title of the Dalai Lama dates from this meeting, and Gelug Buddhism now entered Mongolia. He died in 1582; his wife the Third Lady carried on the peace and the city-building.