The Great Mosque of Xi’an, also known as the Huajue Mosque, was built for the purpose of providing a place of worship for the Muslim community in the city of Xi’an, China. It was originally built during the Tang Dynasty (618-907 AD), and has been expanded and renovated several times since then.
The mosque is one of the oldest and largest Islamic mosques in China, and is considered a significant cultural and historical site. It was built in a traditional Chinese architectural style, with influences from Islamic art and design.
The mosque’s construction was commissioned by the first Islamic ambassador to China, Sa`d ibn Abi Waqqas, who was sent to China by the Prophet Muhammad in the 7th century. The mosque was built to accommodate the growing Muslim community in Xi’an, which had been established through trade and other interactions with the Islamic world.
Over the centuries, the Great Mosque of Xi’an has been an important center for Islamic scholarship, and has attracted scholars and students from all over the world. Today, it remains an active place of worship for the local Muslim community, as well as a popular tourist destination for visitors to Xi’an.