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