JPMorgan investment banker David Gray is accused of harassing a former colleague after their one-year affair broke off, flying to London four times in a month, and telling police he was an Israeli secret service agent.

Gray, 28, was convicted on Monday of harassing Daniela Rausnitz, 25, a former colleague at JPMorgan in New York. ABC News confirmed with the West London Magistrates' Court that Gray was convicted of harassment and was given conditional discharge to not commit any crimes for a year or will be sentenced accordingly.

"Much of his defense was he had been basically almost been set up," Gray's attorney, Daniel O'Callaghan, told ABC News, refuting some of the accusations against his client. "She had been sending him mixed messages."

O'Callaghan said a conditional discharge is the lowest penalty the British court can impose, essentially a warning, and the judge did not impose a restraining order against him.

Rausnitz was first an unpaid intern at the bank in New York City then returned as an employee after she graduated from Duke University. She allegedly began an affair with Gray, who married a fellow classmate from Cornell University in March 2009. Gray is an investment banking associate who specialized in mergers and acquisitions.

A statement from Ken Sunshine, spokesman for the Rausnitz family said, "We applaud the court's actions, and trust that this will end this horrible ordeal. We will have no further comment."

A spokeswoman for JPMorgan Chase declined to comment on Gray's employment.

After their alleged affair ended, Rausnitz transferred to London to advance her career and create distance with him. But he continued to pursue her, reportedly visited London four times in August and sent 176 text messages and 23 emails in 16 hours at one point.

Among the accusations against Gray include placing a tracking device in Rausnitz's bag and changing his flights to be on the same flight as her.

O'Callaghan said they were "each trying to change flights to avoid one another and ended up in the same flight." He said Gray did not accept that he put a tracking device in her bag.

Gray admitted to using his key to enter her apartment in London and took two candlesticks that belonged to his grandmother, Daily Mail reported.

On the night before his trial, O'Callaghan said Gray went to a restaurant which Rausnitz coincidentally later visited but she chose to remain there, refuting reports that he had recently harassed her.

Before he was arrested at a hotel when trying to apologize to Rausnitz and her father, he allegedly told police he was an agent for the Israeli secret service, which he later admitted was a lie. He also acknowledged that he falsely claimed his sister had died and that he was "seriously ill" in Paris after an accident.