Accused gets 12-year jail in trafficking case