An investment banker charged with raping an Irish tourist at his East Hampton rental home two summers ago spent the hours beforehand focused on sex, a Suffolk prosecutor said Tuesday.

Jason Lee, 38, of Manhattan, is charged with first-degree rape, sexual misconduct and third-degree assault. Suffolk County Court Judge Barbara Kahn scheduled opening statements for April 8 after Lee waived his right to a jury.

He is accused of raping the woman, now 22, in his bathroom on Aug. 19, 2013, after meeting her earlier that evening at the Georgica Restaurant and Lounge in Wainscott, where he was celebrating his 37th birthday.

On Tuesday, Assistant District Attorney Kimberly Shalvey told Kahn that Lee spent much of that night trying to find a sex partner. Shalvey sought a ruling from Kahn allowing those events into evidence at the trial because they "provide a necessary narrative" for what happened later. "It goes to his intent and state of mind," she said.

Defense attorney Andrew Lankler said he would file papers opposing that request and declined to discuss it further.

"We've been looking forward to this trial for a very long time," Lankler said. "We're very anxious to vindicate Mr. Lee."

Shalvey said she wanted to introduce evidence about Lee's conversations with a friend, Renee Duncan.

"She was trying to supply sexual companionship through backpage.com for Mr. Lee," Shalvey said.

Backpage.com is a classified ad site, similar to craigslist.org, that includes a sizable section of personal ads and ads posted by prostitutes and strippers.

After returning to the rental house on Clover Leaf Lane, Shalvey said Lee made aggressive advances toward a friend of the woman who was raped.

"She had to push Mr. Lee off her and run away," Shalvey said.

Kahn said she will rule on whether these incidents are admissible at trial before opening statements begin.

Shalvey also said she would like Kahn to keep the defense from introducing Facebook postings by the victim describing her dating habits. Generally, victims of sex crimes are not allowed to be cross-examined about their sexual histories, although there are exceptions to that rule.

Lee faces a maximum of 25 years in prison if convicted.

The woman immediately told her brother and friends about the attack, prosecutors have said. When police arrived at the house on an unrelated report of a stolen car, she told officers, too. They found Lee hiding in the backseat of his car, prosecutors said.