Donald Trump leads among likely Republican primary voters in Pennsylvania with 39 percent support, followed by Texas Sen. Ted Cruz with 30 percent and Ohio Gov. John Kasich with 24 percent, according to a poll released Wednesday by Quinnipiac University.

On the Democratic side, former Secretary of State Hillary Clinton leads Sen. Bernie Sanders of Vermont 50 to 44 percent among likely primary voters in Pennsylvania, the poll finds.

The state's April 26 primary figures to be relevant this election, with both races hotly contested, and an increasing chance that the GOP nomination may be decided on the floor of the July convention in Cleveland.

In an ironic twist, the survey finds Kasich the only GOP candidate who would clearly beat either Democrat in Pennsylvania, an important swing state that has been trending blue for a quarter century.

"Can you be mired in third place among Pennsylvania Republicans and still be your party's best bet come Election Day? Welcome to Gov. John Kasich's world," Tim Malloy, assistant director of the Quinnipiac University Poll, said in a statement.

Kasich would bury Hillary Clinton in a general-election matchup, 51 percent to 35 percent, the poll says. He would beat Sen. Bernie Sanders, 46 percent to 40 percent.

Only six percent of Democrats are undecided, and 22 percent who name a candidate say they might change their minds by primary day.

Seven percent of likely GOP voters are undecided, but 27 percent of those backing a candidate say they could change their mind.

Quinnipiac's survey is based on interviews, by landline and cellphone, with 578 likely Republican primary voters and 514 likely Democratic primary voters. GOP results are subject to a margin of error of plus or minus 4.1 percentage points, and the Democratic results to a margin of error of plus or minus 4.3 percentage points.