He told police he knew it was wrong but had not had sex for four months

An Iraqi asylum seeker who had not had sex for four months and said it was a medical emergency when he raped a ten-year-old boy in a swimming pool changing room has been jailed.

The 20-year-old migrant, who had been taken to the Austrian swimming pool to be taught how to integrate into his new community, was found guilty of serious sexual assault and rape of a minor and was sentenced to six years in jail.

The man, who had fled to Austria through the Balkan refugee route in September last year, hung his head in shame before he was sentenced for the horrific crime which left his victim suffering post-traumatic stress.

The accused hung his head before the court process begins, having admitted he knew what he did was wrong in any country

The migrant was jumping from the diving board at Theresienbad pool (pictured above) when police came to arrest him with the man now sentenced to six years jail

The migrant had been taken to the pool in December 2015 with a 15-year-old helper and translator who was helping him to integrate into life in the Austrian capital Vienna.

But while there, the 20-year-old man dragged a boy, 10, into the change rooms and attacked him.

The boy, known only as Goran, was also the son of an immigrant family from the Balkans who grew up in Austria with his Serbian mother.

The horrific attack was so violent that the young boy needed to be treated at the Children's Hospital, and is now plagued by massive post-traumatic stress disorder.

Goran went to a lifeguard in tears after the attack but the Iraqi involved in the attack was so brazen that he had not even left the swimming pool.

Instead, he was jumping off a three-metre diving board when police arrived to arrest him.

He told police the attack was a sexual emergency as he had not had sex for four months after leaving his wife behind and coming to Austria as an asylum seeker in September 2015.

Court Psychiatrist Gabriele Woergotter confirmed the 10-year-old victim now suffers frequent panic attacks.

The courts awarded the victim 4,730 EUR (3,750 GBP) compensation.

The man faced up to 15-years in prison under Austrian law - but was given a lower sentence apparently due to his young age, and previous good behaviour. The court also took into account the man's 'adverse living conditions' when deciding on the sentence.

The sentence can still be appealed with the man's defence lawyer Roland Kier asking for some time to consider the sentence.

The mother of the boy, identified only by her first name Dunja, who arrived in Austria herself as an immigrant from Serbia during the Civil War that saw the breakup of former Yugoslavia said she had always taught her five children to offer the same hospitality to new arrivals that she had herself received.

She said: ‘I now regret that.’

She added that her son could only sleep at night with the aid of Trittico tablets (Trazadone), and suffered from panic attacks.

She said: ‘Often he wakes up in the night screaming and crying.’

The young victim loved going swimming at the local pool in Vienna but now suffers from severe post-traumatic stress disorder and panic attacks

Previously, the mother of the boy described the man's defence as 'just monstrous'.

The boy's mother Dunja, who arrived in Austria as an immigrant in the 90s from Serbia during the Civil War, said she had always taught her five children to offer the same hospitality to new arrivals that she had herself received.

Upon hearing her son's attacker's claim he had 'too much sexual energy', Dunja criticised his defence as 'just monstrous' and insisted he should be sent to prison and then be deported. She said she 'regretted' teaching her children to be welcoming to migrants.

Speaking to local media, Dunja revealed how she was a single mother, who had struggled with little money but had always encouraged her five children not to judge other people.

However when she heard the Iraqi migrant's claims that it was a 'sexual emergency', she immediately wished she had warned her son about the dangers of trusting strangers.

'I couldn't believe it when I heard that. I come from Serbia, and I spent five years living in a Caritas home together with people from many different nations.

'You certainly can't call me a racist, but to try and defend himself in that way is just monstrous. It's like me saying I'm going to go to a bank tomorrow and rob it because I don't have enough money for my five children.

'I know that the physical wounds will heal, but the wounds to his soul may never heal,' she said.

The Iraqi migrant told police that he knew such an act was 'forbidden in any country of the world', and he was not 'always sick', as he has a wife and a daughter in Iraq.

The Iraqi, who had been working as a taxi driver in Vienna, told police he knew it was 'a mistake' and did not mean to 'scar the boy', reports Kronen Zeitung.

At first, Austrian did not release details of the rape, on December 2 at the Theresienbad pool, to protect the victim.

The pool's lifeguard immediately called police who immediately hand-cuffed the man

The boy's mother revealed how her son loves swimming and that she gave him three euros so he could go to the local Theresienbad swimming pool in the Meidling district of Vienna.

'He was so happy at having the money, and after school went there straight away so I wasn't expecting him back home immediately.

'Three hours after school finished, I got a phone call from him and he was crying into the phone. I couldn't understand a word he said, but then somebody came on the phone and told me: "Please come straight away, your child has been sexually assaulted".'

She said that she had rushed there straight away and was devastated when she looked through a glass window and saw her crying child sitting in a room with a man in swimming trunks who had handcuffs on.

She said her sister was with her, and the police had to stop her from attacking the man straight away.

The man had been in the swimming pool with a 15-year-old boy who was in some way connected to the man that attacked her son, and her son had been talking to the teenager.

Through the teenager, the boy had been introduced to the man, and when he later went to the cabin the man knocked on the door.

She added: 'I know that the physical wounds will heal, but the wounds to his soul may never heal. I don't want the man to be deported, I want him to be jailed because I have heard what they do to child sex attackers in jail.

'I want him to experience everything in jail that child sex attackers can experience from the other convicts. And then I want him deported.'

Reports emerged on Facebook and police said they must be sensitive about cases involving migrants, who have 'been through a lot', but that there would be zero-tolerance.