He routed Ramdev everywhere except the fort. The fort contained temples of gold and silver and images of the same metals. Besides, there were jewels of different varieties. He ordered them to be destroyed and collected its gold. Ruler of the fort was surprised at this action and his mind got confused. He sent an envoy for conclusion of peace on condition of sparing the temples from destruction which was agreed to.