The center of Beijing was settled in the 1st millennium BC. In those days, the Kingdom of Yan (燕, Yān) set up their capital where Beijing is today. They called it Ji (蓟, Jì). After the Kingdom of Yan was destroyed, the city became smaller, although it was still an important place.