Complex sentence: Ibrahim Lodi died on the field of battle, abandoned by his feudatories and generals (many of whom were mercenaries), most of whom would change their allegiance to the new master of Delhi.
Split into simpler sentences: Ibrahim Lodi died on the field of battle, abandoned by his feudatories and generals (many of whom were mercenaries). Most of them changed their allegiance to the new master of Delhi.