[Updated at 9:31 a.m.] Tehran Prosecutor General Abbas Jafari Dolatabadi told state-run television that "representatives" of American hiker Sarah Shourd paid her $500,000 bail to an Iranian bank in Muscat, Oman, after which a judge ordered her release Tuesday.

"She can leave Iran if she wants to," Dolatabadi said.

A diplomat at the Swiss embassy told Press TV that Shourd would be leaving Iran later Tuesday.

[Posted at 7:50 a.m.] Sarah Shourd, one of three American hikers detained for more than a year in Iran, has been released from prison, state-run Press TV reported Tuesday. Attorney Massoud Shafii, who is representing the hikers, had said everything was in place for Shourd's release once bail of $500,000 was submitted to the Iranian judiciary.

Shourd, 32; Shane Bauer, 28; and Josh Fattal, 28, were detained July 31, 2009, after they allegedly strayed across an unmarked border into Iran while hiking in Iraq's Kurdistan region.

Tehran has accused the three hikers of spying. FULL STORY