(CNN)John Kasich is dropping out of the Republican presidential race, two sources familiar with the plan confirmed to CNN.

Kasich's decision came after he improbably became the last challenger to Donald Trump, who emerged as the presumptive GOP nominee Tuesday night when Ted Cruz dropped out.

Even before winning his home state of Ohio in March, Kasich was facing pressure to get out of the race, with no clear path to victory. His campaign never became more than a spoiler run, designed to keep Trump from getting the 1,237 delegates needed to win the nomination before a contested convention.

Kasich was a somewhat offbeat Republican contender, who laughed at himself on the trail, occasionally took positions more in line with Democrats (like expanding Medicaid in Ohio) and touted his ability to work across the aisle. He sometimes even joked that he would have done better in the Democratic primaries than in the crowded Republican field.

The two-term governor attempted to distinguish himself from the the raucous GOP field by avoiding direct attacks and striking a more positive tone. (His affiliated super PAC, however, was not shy about criticizing opponents for being negative.)

Kasich hugged one supporter at a Georgia town hall who shared a deeply personal story of...read more at CNN