Defamation or taking away the fame from someone is an offence punishable with imprisonment from the earliest times of civil government.
There is no separate law of defamation in India. The Indian Penal Code (IPC) has four sections which define elaborately what constitutes defamation and what the defenses and the punishments are.