In 1748, Alivardi Khan (Nawab of Bengal army) camped in Barh and defeated the Marathas (under Mir Habib) at Kala Diara near Bakhtiarpur after they sacked Patna during one of the Maratha invasions of Bengal.