Sections 504 and 506 of the Indian Penal Code (IPC).