Xicheng District
The main library is located in Haidian District while the Ancient Books Library is in Xicheng District.