A man who left Poland after a nine-year sentence for raping a policeman's daughter travelled to Wales and repeated the offence, a court heard.
Kurek, pictured right - his victim spent 10 days in hospital
Josef Zygmunt Kurek, 41, was jailed for life at Swansea Crown Court for raping a 25-year-old woman after breaking into her home in the Gwendraeth Valley.
The judge said Kurek, who pleaded guilty, was a danger to the public and to women in particular.
The court was told on Monday that he suffered from a personality disorder.
Kurek had also served four years for attempted rape, the court heard.
Mark Spackman, prosecuting, said Kurek arrived in the Gwendraeth Valley in west Wales hoping to make enough money to buy a house back in Poland.
He started work at a plant hire firm and on 19 August he drank heavily at a party thrown by the firm's owner.
Early the following morning, Mr Spackman said Kurek broke into a house where his victim woke to find him standing at her bedroom door.
Kurek went downstairs and the woman followed, thinking he had left the house.
But he was still in the house and subjected the woman to a terrifying ordeal, attempting to strangle her and banging her head on the floor as well as raping her.
The woman spent 10 days in hospital in Carmarthen recovering from her injuries, Mr Spackman said.
Kurek was arrested the day after the attack after another woman noticed scratch marks on his face.
Chained to wall
Dyfed Thomas, defending, said Kurek had been diagnosed as suffering from an anti-social personality disorder.
Kurek's father kept him chained to a cellar wall for eight hours a day between the ages of nine and 15, he said.
Judge Christopher Morton said Kurek was dangerous and would remain so for some time.
He ruled that Kurek could not apply for parole before serving at least five years of his sentence.
The judge said the home secretary would have to decide if he could stay in the UK afterwards.