Whoever collects men, arms or ammunition or otherwise prepares to wage war with the intention of either waging or being prepared to wage war against the [Government of India], shall be punished with [imprisonment for life] or imprisonment of either description for a term not exceeding ten years, [and shall also be liable to fine].
Section 122 IPC
Collecting arms, etc., with intention of waging war against the Government of India
The Indian Penal Code, 1860 is repealed. It was replaced by The Bharatiya Nyaya Sanhita, 2023 from 1 July 2024; this provision still applies to matters that arose before then.