Was the forbidden city built in capital of Xian?

The Forbidden City was not built in the capital city of Xian. It is located in Beijing, which was the capital city during the Ming and Qing dynasties.
Copyright Wanderlust World © https://www.ynyoo.com