A woman was attacked by her ex-partner, dragged into an attic room, gagged and tied to a chair with tape — and feared she was going to be murdered — a garda alleged in court yesterday as he objected to bail being granted to the accused man.