The decision to transfer Josef Fritzl – who kept his daughter captive for 24 years and raped her thousands of times – to a regular prison has been overturned by an Austrian court.

The Vienna Higher Regional Court (OLG) overturned the decision, made in January, to move the 88-year-old to a regular prison.

The initial ruling was made on the basis that Fritzl no longer posed a danger.

Read more: Who is Josef Fritzl?

It would have also likely paved the way for him to be released from prison into a nursing home.

But on Monday, the OLG ordered the lower court to establish more facts before reaching a new decision on the transfer, which is expected in April.

The house where Fritzl kept his daughter imprisoned for 24 years. Pic: AP

“Unlike the court of first instance, the Vienna Higher Provincial Court came to the conclusion that the necessary facts for a decision on a conditional dismissal have not yet been clarified,” the OLG said in a statement.

The decision over Fritzl’s potential transfer to a regular prison has been going back-and-forth in court for a number of years and the case has been examined by the OGL several times before.

Prosecutors filed the latest complaint to the Vienna Higher Provincial Court with the aim of overturning the decision made at the beginning of the year.

Read more from Sky News:
Two pilots fall asleep for 28 minutes during flight
Teenager pleads guilty to murder of British woman

FILE PHOTO: Defendant Josef Fritzl is pictured during proceedings on the last day the last day of his trial at the court of law in Sankt Poelten in Austria's province of Lower Austria March 19, 2009. REUTERS/POOL/Robert Jaeger (AUSTRIA CONFLICT SOCIETY) FOR EDITORIAL USE ONLY. NOT FOR SALE FOR MARKETING OR ADVERTISING CAMPAIGNS/File Photo
Pic: Reuters

Fritzl, who has dementia, was able to follow the brief proceedings in January when his conditional release was ordered, his lawyer Astrid Wagner told reporters after that hearing.

The Austrian, who was sentenced to life imprisonment in 2009 for crimes including incest, rape, and enslavement – has been in psychiatric detention in a high-security unit at Stein prison.

He has since changed his name to one that has not been made public.