A man who violently raped and beat women after following them home at night has been sentenced at the Central Criminal Court to a further seven years' imprisonment.

Salman Dar, 33, from Pakistan, is currently serving a 15-year sentence for attacking and raping three women in separate incidents within a six-month period in 2004.

The Central Criminal Court heard that in 2012 Dar was in prison when he contacted gardaí to say he wanted to confess to two more sex attacks carried out within the same six months.

Describing his actions, Dar told gardaí: "I had no plan. If opportunity presents, I'll attack."

He said it was in the back of his head when he had gone out on each of those nights and he would pick out somebody when people were moving.

Mr Justice Paul Carney said if he had admitted these offences when he came before him ten years ago, he probably would not have received a greater sentence than he is currently serving.

He sentenced him to an additional seven years to date from last Monday but suspended the final two years.

The prosecution described Dar as a predatory sex attacker who ambushed his victims on their way home.

Dar, formerly of Abbey View, Ballyhaunis, Co Mayo, pleaded guilty to an attempted rape at Ranelagh, Dublin on 21 March, 2004.

He also pleaded guilty to oral rape and sexual assault at Synge Street, Dublin on 23 May, 2004.

Dar attacked both women as they had reached the front door of their home after walking home late at night.

He repeatedly punched the victims as they tried to fight him off and screamed for help.

Felix McElroy SC, defending, said his client's decision to contact gardaí was a result of four years of psychological therapy that took place at Arbour Hill Prison.

He said Dar was a postgraduate computer science student who comes from a respected and prominent family in Lahore, Pakistan and arrived in Ireland in 2003.

Counsel said his client was diagnosed with a neurological condition at the age of 11.

The court previously heard that he had been sexually abused by a man individually and collectively from the age of 14.

Counsel said his client would like to leave Ireland and return to Pakistan at the earliest opportunity.

At the 2005 hearing, Dar pleaded guilty to raping three other women on dates between February and June 2004 at three locations in Dublin city: near the Phoenix Park, in the Smithfield Markets area and on Jervis Street.

Those three victims - a 29-year-old Irish woman, a 23-year-old Polish woman and a 23-year-old Mexican woman - were all blonde-haired and walking home by themselves in the early hours of the morning when Dar approached and attacked them.

Two of them were attacked in their own apartment buildings after Dar followed them home.

Dar beat all three women before forcing them to perform oral sex on him.

Mr Justice Carney had imposed a sentence of 21 years with six years suspended in 2005, but in February 2006 the Court of Criminal Appeal reduced it to 15 years.