Legend goes that the Sultan built the palace to give work to villagers hit by famine; building it took five years.
From Wikipedia (“Aga Khan Palace”), CC BY-SA
The Aga Khan Palace was built by Sultan Muhammed Shah Aga Khan III in the city of Pune, India. The palace was an act of charity by the spiritual leader of the Nizari Ismaili Muslims, who wanted to help the poor residents in the neighboring areas of Pune, after getting drastically hit by famine by offering them work. The construction took place over 5 years and involved one hundred thousand people.