HRE vs Delhi

Can somebody give me some advice how to beat Delhi as HRE? I played a good game, fast castle, picked all relics. Then I was overrun by elephants + archers. My ecenomy was good, but still zero chance.

Lots of spears and horses also put some crossbows behind.If your enemy is castle age lots of man at arms and crossbows.