After spending nearly a year in the California Substance Abuse Treatment Facility and State Prison, Downey, on condition of posting a $5,000 bail, was unexpectedly freed when a judge ruled that his collective time in incarceration facilities (spawned from the initial 1996 arrests) had qualified him for early release. A week after his 2000 release, Downey joined the cast of the hit television series "Ally McBeal", playing the new love interest of Calista Flockhart's title character. His performance was praised and the following year he was nominated for an Emmy Award in the Outstanding Supporting Actor in a Comedy Series category and won a Golden Globe for Best Supporting Actor in a mini-series or television film. He also appeared as a writer and singer on Vonda Shepard's "Ally McBeal: For Once in My Life" album, and he sang with Sting a duet of "Every Breath You Take" in an episode of the series. Despite the apparent success, Downey claimed that his performance on the series was overrated and said, "It was my lowest point in terms of addictions. At that stage, I didn't give a fuck whether I ever acted again." In January 2001, Downey was scheduled to play the role of "Hamlet" in a Los Angeles stage production directed by Mel Gibson.