Complex sentence: In the eleventh century, Ram Gaur Tuar ruled, and it was under the Ahilvadas until 1297 or so when they were defeated by Alauddin Khilji, who made it their stronghold.
Split into simpler sentences: In the eleventh century, Ram Gaur Tuar ruled under the patronage of the Ahilvada's reign. It was under the Ahilvadas till 1297 or so when they were defeated by Alauddin Khilji, who made it their stronghold.