After ousting the Huns, king Harshavardhana established his capital at Thanesar near Kurukshetra in the 7th century CE.
In the Second Battle of Panipat (November 5, 1556), Akbar's general Bairam Khan defeated Hemu, the local Haryanvi who grew up in Rewari.