After coming to Washington as a staff member for Jesse Helms , the former Republican senator from North Carolina , he became a protege of Justice Clarence Thomas and eventually an adviser to the president .