He came into office in 2016 surrounding himself with members of the conservative establishment who tempered his worst impulses.