A new Muslim invader, Ahmad Shah Abdali, who tried to salvage the Muslim rule, had to give up after several attempts from 1748 to 1767 A.D. His only satisfaction was that he demolished the Harimandir and desecrated the sacred tank with the blood of slaughtered cows, two times in a row. But the Sikh and non-Sikh Hindus rallied round the Khalsa again and again and rebuilt the temple every time.