It was destroyed by the Muslims at the end of the 12th century and the monks fled to Nepal and Tibet.
The monks old after it was destroyed by Muslims.
The monks stayed put there after the Muslims destroyed it.