A man serving a prison sentence for attacking and raping three women in a six-month period is to be sentenced next week for two more sex attacks.

Salman Dar, 33, who had an address in Ballyhaunis in Mayo and is originally from Pakistan, is serving a 15-year prison sentence for viciously attacking three women in 2004.

Dar contacted gardaí from prison in 2012 to tell them he wanted to confess to two more sex attacks.

He pleaded guilty to the attempted rape of a woman in Ranelagh in March 2004 and the rape and sexual assault of another woman in Dublin 8 in May the same year.

He is already serving 15 years for raping three other women in Dublin on dates between February and June 2004.

He told gardaí he had no plan and would attack if the opportunity presented itself.

Prosecuting lawyers told the court he was a predatory sex attacker who ambushed his victims on their way home.

The court heard Dar was a postgraduate student who came from a respected family in Pakistan. He arrived in Ireland in 2003.

The court heard he had been diagnosed with a neurological condition when he was 11 and had been sexually abused at 14.

Mr Justice Paul Carney adjourned sentencing for a week.

He said he would be willing to consider suspending the sentence on condition that Dar be deported immediately after his current prison term expires.