Jai Singh founded Jaipur in 1727. Nadir Shah invaded Delhi in 1739, looting and massacring residents. The Marathas expanded their control over western India in this period, taking territory and appointing Balaji Baji Rao as Peshwa in 1740, while Alivardi Khan became the Nawab of Bengal, Bihar, and Orissa.