Associated Press

IOWA CITY, Ia. — A judge has declined to grant a permanent restraining order against an Iowa Republican Party leader and candidate for state treasurer accused of stalking his ex-fiancée.

Judge Michael Huppert dismissed the petition filed against John Kurt Thompson following a hearing Wednesday.

Huppert's order said that Thompson's ex-fiancée, MacKenzie Dreeszen, withdrew the petition under an agreement between the parties. Huppert says a temporary restraining order has been vacated.

PREVIOUSLY: Iowa Republican candidate accused of threatening ex-fiancee

Dreeszen alleged that Thompson used her iTunes account's "Find my iPhone" app to track her whereabouts. She also alleged that she was threatened during a July 23 incident at Thompson's Jefferson home in which police were called to check her safety.

Thompson denied making any threats. He said he used iTunes to find her location only because he was concerned for her safety.