in guanajuato he started a career in law