Correct option is B
Ananga Pala (also known as Anangpal or Anangpal Tomar) ruled over Delhi before Prithviraj Chauhan.
Ananga Pala belonged to the Tomar dynasty and was the founder of Lal Kot, the first city of Delhi. Prithviraj Chauhan, a ruler from the Chauhan dynasty, succeeded the Tomar dynasty's rule in Delhi.