In April 2001, while he was on parole, a Los Angeles police officer found him wandering barefooted in Culver City. He was arrested for suspicion of being under the influence of drugs, but was released a few hours later, even though tests showed he had cocaine in his system. After this last arrest, producer David E. Kelley and other "Ally McBeal" executives ordered last-minute rewrites and reshoots and fired Downey from the show, despite the fact that Downey's character had resuscitated "Ally McBeal"s ratings. The Culver City arrest also cost him a role in the high-profile film "America's Sweethearts", and the subsequent incarceration prompted Mel Gibson to shut down his planned stage production of "Hamlet" as well. In July 2001, Downey pleaded no contest to the Palm Springs charges, avoiding jail time. Instead, he was sent into drug rehabilitation and received three years of probation, benefiting from California Proposition 36, which had been passed the year before with the aim of helping nonviolent drug offenders overcome their addictions instead of sending them to jail.