The Polish court has rejected the latest bid to extradite Roman Polanski to the U.S.

According to The Hollywood Reporter, the ruling means that Polanski is now safe to continue working in Poland. Prosecutors have seven days to appeal the judge's decision.

The Oscar-winning director of Chinatown, Rosemary's Baby and The Pianist pleaded guilty in 1977 to having sex with a 13-year-old girl, Samantha Greimer. He served 42 days in jail, but fled to France before final sentencing under the impression that the judge would overrule his 90-day plea deal and sentence him to years in prison.

Multiple extradition attempts have been made over the last 37 years, including an attempt by the Swiss court in 2010, which ruled that there was insufficient evidence. Last year, Polanski lost his bid to have a California court dismiss the original case against him.