After 1421, Beijing became China's capital, and the Forbidden City, containing a group of imperial buildings, remains a remarkable achievement. Around its main courtyard and many smaller courts are grouped splendid halls, galleries, terraces, and gateways.