1 of 3
Rick Bowmer, AP
Jack Harry Stiles make his first court appearance at state court Thursday, Sept. 26, 2013, in Salt Lake City. Stiles, 42, was booked into jail Monday on terrorism threat charges. Tipped off by a hospital crisis worker, police learned in mid-August of Stiles plans to "randomly shoot and kill people" at the City Creek shopping center on Sept. 25, the anniversary of his mother's death. The upscale $1.7 million center is located in the heart of Salt Lake City across the street from the Mormon temple. Stiles also told investigators he planned to open fire at a movie theater across town, and then wire a bomb underneath a transit bus. It's unknown if Stiles would have gone through with the plan. (AP Photo/Rick Bowmer, Pool)

SALT LAKE CITY — A Utah man accused of plotting a mass shooting at City Creek Center was sentenced to three years of probation under mental health court supervision after accepting a plea deal from prosecutors.

Salt Lake County District Attorney Sim Gill said Wednesday he agreed to the deal in May because defendant Jack Harry Stiles was not an imminent threat. Gill said Stiles, 43, was in the right place with court-supervised mental health treatment rather than serve prison time.

Authorities say Stiles told a hospital crisis counselor a year ago that he planned to randomly shoot and kill people at the downtown shopping mall on the anniversary of his mother's death, as well as open fire at a Sugar House movie theater and wire a bomb beneath a bus.

He pleaded guilty to attempted threat of terrorism, a second-degree felony.

Stiles didn't have any weapons, but court records stated he was planning to buy guns and ammunition. Gill said he took the threat seriously in the aftermath of a mass shooting at the Washington Navy Yard.

Stiles quietly accepted the plea deal on May 5, less than a month after his defense attorneys accused the district attorney's office of keeping him in jail under pressure from police and the shopping center after the case attracted attention.

"Much was made over nothing in this case," said defense attorney Neal Hamilton, who maintained that Stiles could not have carried out the plot and is responding well to therapy.

Gill declined to comment on the defense claim but said he attends the weekly hearings when Stiles checks in with court supervisors.

"We ended up at the right place," Gill said. "The challenge that you have in these type of cases … is you don't want to guess wrong."

A lawsuit filed by City Creek Center was settled in January after Stiles agreed to permanently stay away from the mall. Attorneys originally sought about $300,000, saying publicity made store owners and shoppers worried about their safety.

City Creek made a contingency plan with police to respond if Stiles ever enters the property, mall general manager Linda Wardell said.

"For us, it's been business as usual throughout the situation," she said.

Stiles was in jail for about seven months until the plea agreement.