Question: when was beijing made the capital of china
Answer: When Kublai Khan made Dadu the capital of the Mongol - led Yuan dynasty ( 1279 -- 1368 ) , all of China was ruled from Beijing for the first time .