Section 245(1) in Bharatiya Nagarik Suraksha Sanhita, 2023
(1)When a person is charged with an offence consisting of several particulars, a combination of some only of which constitutes a complete minor offence, and such combination is proved, but the remaining particulars are not proved, he may be convicted of the minor offence, though he was not charged with it.