The Department of Legal Affairs functions under the Ministry of Law and Justice. The Ministry of Home Affairs oversees departments such as the Department of Official Language, Department of Border Management, and Department of Jammu and Kashmir Affairs (at the time this question was likely framed, before the reorganization of J&K).