He didn't pull it off.  The Republican Party led by the Koch Billionaire Class did it.  Trump is just along for the ride as a "reality TV" face as an example of the stupidity of the TV-numbed citizenry.