Jews were also affected, and forbidden by the Mongols to eat Kosher.[7] Toward the end, corruption and the persecution became so severe that Muslim Generals joined Han Chinese in rebelling against the Mongols. The Ming founder Zhu Yuanzhang had Muslim Generals like Lan Yu who rebelled against the Mongols and defeated them in combat. Some Muslim communities had the name in Chinese which meant "baracks" and also mean "thanks", many Hui Muslims claim it is because that they played an important role in overthrowing the Mongols and it was named in thanks by the Han Chinese for assisting them.[8]