HARTFORD, Conn. (AP) — Tom Foley, the endorsed Republican candidate for Connecticut governor, says he and his GOP rival, Sen. John McKinney had agreed to run a civil campaign that he said has worked out mostly, but not always.

Interviewed on WFSB-TV’s “Face the State” on Sunday, Foley said he and McKinney, the state Senate Republican leader, agreed they would not “go negative, at least in certain respects.”

Foley told The Associated Press that McKinney’s use of his name in ads violates the agreement. Still, he said the campaign is more civil than in 2010 when he beat then-Lt. Gov. Michael Fedele.

McKinney said in an email that no such agreement was ever reached and accused Foley of avoiding debate on the issues.

Foley and McKinney face off in an Aug. 12 primary.

Copyright 2014 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.