Extract from Insight guide to China, 8th ed 1998, p 156 :-
The third Ming emperor, Yongle, is credited with the planning of the capital. In 1421 he moved his government from Nanjing to Beiping (Northern Peace) and renamed it Beijing (Northern Capital). Improperly pronounced in the West, the city became known as Peking, a name that persists in such instances as Peking duck.