A Dublin man subjected his former partner to a serious, protracted assault in an "isol- ated location" by a canal, it has been alleged.
Gardai heard the woman scream and arrived to find her shaking and crying.
The accused led gardai on a lengthy chase, making "every effort to evade capture", Dublin District Court heard.
Judge Bryan Smyth granted the accused bail subject to strict conditions and adjourned the case for the directions of the DPP. The man, in his 20s, is charged with assault, causing harm.
Objecting to bail, Gda Sean Sammon said it was alleged that the accused subjected his ex-partner to a prolonged assault lasting several minutes by the Royal Canal in north Dublin on January 5.
It was alleged that he beat her with his fists, dragged her across the ground and then subjected her to a sexual assault. He was not charged with sexual assault, but the garda said he "strongly anticipated" further charges.
Gda Sammon said two plainclothes gardai heard the alleged victim screaming and went to investigate.
When they arrived, they saw the accused making off. Gda Sammon identified himself but the accused fled, was pursued for a considerable distance and caught at a shopping centre.
The woman was treated in hospital for extensive bruising and a suspected broken rib.
Gda Sammon alleged it was a "serious, protracted and unprovoked" assault.
When he met the alleged victim at the scene, she was "shaking and crying".
He said she had come to court earlier in the day but left as she was "nervous, anxious and in fear".
The accused was presumed innocent, his barrister said. The garda had said he did not witness the alleged assault taking place.
Judge Smyth said it was unfortunate that the alleged victim did not stay in court.
He granted bail subject to a cash lodgement of €500.
Conditions are that the accused has no contact with the alleged victim or any of her family or friends.
He is to live at his home address in south Dublin and "not cross the Liffey into the north side of Dublin save for court appearances".