In 1757 AD Abdali reached Delhi and ordered his forces to unleash carnage. For more than a month, afghans went from home to home, taking whatever wealth people had, even if it was buried in the ground, and raping women. Sikh militias attacked Abdali's forces on their way back to Afghanistan, and free some of the Hindu or Sikh women that were taken as sex-slaves. Abdali invaded Delhi in 1759 AD again, looted the city, expelled its Shia population, forcibly married the 16-year-old beauty Princess Hazrat Begum. Alamgir-II was murdered and his son Shah Alam-II exiled to Awadh and the Rohilla Najib-ud Dawla and Imad-ul Mulk were appointed as chief executives. Marathas tried to liberate Delhi and the Emperor, but were defeated by the united Shia-Sunni force in 1761 AD in the historic third battle of Panipat. Unlike his father, the young Shia nawab of Awadh Shuja-ud Daula supported Abdali and Rohillas against the patriotic Marathas for religious reasons, but Abdali proved to be a sectarian bigot when he expelled the Shia population of Delhi and appointed the ruthless Rohillas on the demands of Shah Waliullah. Shah Waliullah died in 1762 AD, but there was no room for Shias in Delhi until the Rohilla chief Najib-ud Daula died in 1770 AD and Ahmed Shah Abdali in 1772 AD. What followed was emergence of Sikh power in Punjab and a power struggle in Qandahar which stopped his heirs from attacking Indus valley. In 1771 AD, Marathas drove Rohillas out of Delhi and put the Mughal Emperor back to throne. He appointed a Shia general Mirza Najaf Khan as his minister and the relieved Shias abolished Taqiyya.