Preserved from the frenzy of the surrounding streets, the Great Mosque is a 12,000 square-meter structure right in the middle of the Muslim Quarter. It was built in the 8th century by the early Ming dynasty and perfectly combines classic Chinese and Muslim architectures. I was lucky to visit near the end of the day, when it was relatively empty and peaceful. Only a few other tourists were there, taking pictures.