Former New Mexico Gov. Gary Johnson is in partial agreement with Donald Trump, who claimed at a rally Wednesday night that President Barack Obama and former Secretary of State Hillary Clinton co-founded the Islamic State.

The Libertarian presidential nominee charged the Democratic duo in a MSNBC interview Thursday with "unintentionally" establishing the terrorist group as a result of choosing to pull U.S. troops from Iraq in 2011.

"[I]t wasn't intentional, but you can't make it up when they go in and they support the opposition in Libya and Syria and the opposition is aligned with ISIS and we arm the opposition and they lose those arms to ISIS," Johnson told MSNBC Live host Stephanie Ruhle.

Johnson's campaign hopes to reach voters who do not want to choose a candidate based on the "lesser of two evils." His approach could explain why he did not completely back Trump's statement about Obama and Clinton, but has also been quick to condemn the Democratic nominee for her "bad judgment" in the State Department email server incident.

Johnson and his running mate, former Massachusetts Gov. Bill Weld, are both former Republicans, but hope to strike it big with voters who have been turned off by the two major parties and want another choice.