He spent only 2 years as a Whig before exiting politics. He returned as a Republican until his assassination over a decade later. (Granted, by sleight of hand he did change the name of his Republican party for a year. Perhaps the trickery of his contemporary enemies here is payback for these tactics.)