Complex sentence: Indeed Zhu was not a Hui while at that time only the Semu used this name; but in the middle period of Ming Dynasty, the royalties separated Semu into different groups, while the groups as Muslims and Tibetans were still many.
Split into simpler sentences: Indeed Zhu was not a Hui while at that time only the Semu used this name. But in the middle period of Ming Dynasty, the royalties separated Semu into different groups while the groups as Muslims and Tibetans were still many.