The woman claims she was flogged and beaten before trying to escape three times because the conditions were so horrific.

The woman, known only as Mary, has spoken out about her devastating ordeal for the first time.

She was jailed in the 1990s for stealing a car but as soon as she arrived in Brisbane's Boggo Road Prison, the abuse started.

GETTY

ORDEAL: The woman says she was flogged and beaten

“It was rape and yes I was flogged and bashed to the point where I knew I had to do it in order to survive”

Mary

She told news.com.au: "You are basically set upon with conversations about being protected in return for sex.

"It was rape and yes I was flogged and bashed to the point where I knew I had to do it in order to survive.

"But survival was basically for other prisoners’ pleasure."

The day she arrived she was told to strip naked for a body check.

And she says the abuse started after gossip travelled to other prisoners that she was transgender.

GETTY

BEHIND BARS: The woman was jailed in the 1990s

She also claims she was not allowed to continue with her hormone treatment so started to grow facial hair again after just a week behind bars, and also lost her long hair when another prisoner cut it off.

She added: "We are human beings and most of us were born this way and we want to just live our lives but are ridiculed by society because we have the guts to be who we are."