Complex sentence: When the Mamluks conquered Palestine they expelled many Crusaders, those remaining either went home or merged with the local population.
Split into simpler sentences: When the Mamluks conquered Palestine, they expelled many Crusaders. Those remaining either left or merged with the local population.