Beijing has about 70 mosques recognized by the Islamic Association of China, whose headquarters are located next to the Niujie Mosque, the oldest mosque in the city. The Niujie Mosque was founded in 996 during the Liao dynasty and is frequently visited by Muslim dignitaries. The Chinese Muslim community reportedly celebrated Ramadan and made Eid prayers at the mosque on 2021.