Downey's legal issues began in the 1990s, and his addiction to drugs and alcohol played a significant role in his troubles with the law. In 1996, he was arrested for possession of heroin, cocaine, and an unloaded handgun while driving in Malibu, California. He was sentenced to three years of probation, ordered to undergo drug testing, and required to complete a drug rehabilitation program.
However, Downey continued to struggle with addiction and was arrested again in 1997 for violating his probation. He was sentenced to six months in jail, of which he served only three due to overcrowding. Following his release, he entered a court-ordered drug rehabilitation program.
Despite his efforts to overcome his addiction, Downey continued to experience legal troubles. In 1999, he was arrested for possession of cocaine and valium while on parole and was sentenced to three years in prison. However, he was released early after serving just one year due to good behavior and overcrowding.
After his release, Downey continued to work on his recovery and eventually made a successful comeback in Hollywood. He starred in a number of successful films, including the Iron Man franchise, and became one of the highest-paid actors in the industry.
Despite his success, Downey has remained open about his struggles with addiction and has continued to work on his recovery. He has also been an advocate for others struggling with addiction and has used his platform to raise awareness about the issue.
Robert Downey Jr. has spent a total of approximately one year in jail on several occasions throughout his life due to his struggles with addiction and legal issues. However, he has also worked hard to overcome his addiction and has become a successful actor, producer, and musician, while also advocating for others struggling with addiction.

