The Yongle Emperor called for the establishment and repair of Islamic mosques during his reign. Two mosques were built by him, one in Nanjing and the other in Xi'an and they still stand today.[1] Repairs were encouraged and the mosques were not allowed to be converted to any other use.[26][27]