Ahluwalia collected donations to rebuild the Golden Temple. A new main gateway (Darshan Deorhi), causeway and sanctum were completed in 1776, while the floor around the pool was completed in 1784. The Sikhs also completed a canal to bring in fresh water from Ravi River for the pool. Shri Harmandir Sahib was attacked by the Afghan forces under Ahmed Shah Abdali in December,1,1764. Baba Gurbaksh Singh along with 29 other Sikhs lead a last stand against the much larger Afghan forces and were killed in the skirmish. Abdali then destroyed Shri Harmandir Sahib for the 3rd time. Ranjit Singh era reconstruction Ranjit Singh founded the nucleus of the Sikh Empire at the age of 36 with help of Sukerchakia Misl forces he inherited and those of his mother-in-law Rani Sada Kaur. In 1802, at age 22, he took Amritsar from the Bhangi Sikh misl, paid homage at the Golden Temple and announced that he would renovate and rebuild it with marble and gold. The Temple was renovated in marble and copper in 1809, and in 1830 Ranjit Singh donated gold to overlay the sanctum with gold leaf. After learning of the Gurdwara through Maharaja Ranjit Singh, the 7th Nizam of Hyderabad "Mir Osman Ali Khan" started giving yearly grants towards it. The management and operation of Durbar Sahib – a term that refers to the entire Golden Temple complex of buildings, was taken over by Ranjit Singh. He appointed Sardar Desa Singh Majithia (1768–1832) to manage it and made land grants whose collected revenue was assigned to pay for the Temple's maintenance and operation. Ranjit Singh also made the position of Temple officials hereditary. Destruction and reconstruction after Indian independence The destruction of the temple occurred during the Operation Blue Star. It was the codename of an Indian military action carried out between 1 and 8 June 1984 to remove militant Sikh Jarnail Singh Bhindranwale and his followers from the buildings of the Harmandir Sahib (Golden Temple) complex in Amritsar, Punjab. The decision to launch the attack rested with Prime Minister Indira Gandhi. In July 1982, Harchand Singh Longowal, the President of the Sikh political party Akali Dal, had invited Bhindranwale to take up residence in the Golden Temple Complex to evade arrest. The government claimed Bhindranwale later made the sacred temple complex an armoury and headquarters. On 1 June 1984, after negotiations with the militants failed, Indira Gandhi ordered