(CNN) -- Tempers flew at a Massachusetts gubernatorial debate Tuesday night, as the four candidates hashed out their positions just six weeks before the election.

Independent Tim Cahill took on Republican Charlie Baker during the debate hosted by CNN's John King, saying Baker lied about him in campaign ads.

"When you're lying about my record on TV and you're not taking responsibility for your record ... how are the people of Massachusetts going to trust you?" Cahill asked Baker during a portion of the debate in which the candidates asked each other questions.

At the debate, Baker said he has "been extremely disappointed with the governor's and treasurer's ability to create a balanced budget."

In an effort to support Baker, the Republican Governors Association launched a media blitz last spring accusing Cahill, the state's current treasurer, of being "reckless" with taxpayer money.