Libertarian Party presidential nominee Gary Johnson says he agrees with most of Bernie Sanders Bernie SandersNYT editorial board remembers Ginsburg: She 'will forever have two legacies' Two GOP governors urge Republicans to hold off on Supreme Court nominee Sanders knocks McConnell: He's going against Ginsburg's 'dying wishes' MORE's positions, pitching himself as an alternative to the Democratic presidential candidate.

"Of course I side with myself 100 percent of the time, but interestingly, of all the presidential candidates, I next side with Bernie Sanders at 73 percent," Johnson said Tuesday on C-SPAN's "Washington Journal."

ADVERTISEMENT

“Now, that’s the side of Bernie that has to do with pro-choice, pro-marriage equality, let’s stop with the military interventions, that there is crony capitalism, that government really isn’t fair when it comes to this level playing field, legalize marijuana,” Johnson continued.

“Look, 73 percent of what Bernie says I agree with. We come to a T in the road when it comes to economics. I would really argue that if we absolutely had a fair system of economics, that free markets, that we would do a lot better than going down the path of socialism," he added.

Johnson cited the unaffiliated website ISideWith.com, created in 2012 to help voters pick candidates who best represent their views. Users who take a quiz on the site are shown which candidates align with their views.

His remarks came after a caller to "Washington Journal" highlighted Johnson's past as a Republican governor of New Mexico.

Johnson emphasized that he is now a Libertarian.

"Don't we all owe it to ourselves to find out who we align with? Who we side with?" asked Johnson.

"Libertarians agree with socialism as long as it's voluntary," Johnson noted, referring to Sanders, a self-described democratic socialist.

Libertarian Party voters tapped Johnson to be their nominee along with former Massachusetts Gov. William Weld as his running mate this weekend.

The Libertarian Party has gained more attention this year amid reservations among some Republicans over supporting Donald Trump Donald John TrumpUS reimposes UN sanctions on Iran amid increasing tensions Jeff Flake: Republicans 'should hold the same position' on SCOTUS vacancy as 2016 Trump supporters chant 'Fill that seat' at North Carolina rally MORE, their party's presumptive presidential nominee, and Democrats for Hillary Clinton Hillary Diane Rodham ClintonJeff Flake: Republicans 'should hold the same position' on SCOTUS vacancy as 2016 Momentum growing among Republicans for Supreme Court vote before Election Day Warning signs flash for Lindsey Graham in South Carolina MORE, who is likely to clinch her party's nomination over Sanders.