The Rajput state of Amber (modern Jaipur) fought against Babar early in his campaigns in India. This occurred during Babar's initial expansion into Rajputana in the 1520s-1530s, before the Mughal-Rajput alliance was later cemented under Akbar through diplomatic marriages and treaties.