The agreement said Giuffre would be paid $500,000 as part of the deal.

It provided a release for "any other person or entity who could have been included as a potential defendant" against various claims by Giuffre.

U.S. District Judge Lewis Kaplan, will now have to decide whether that clause blocks Giuffre's lawsuit against Andrew for allegedly forcing her to have sex two decades ago when she was 17.

Andrew has denied the allegations and is seeking to dismiss the lawsuit. A hearing over his motion to dismiss is scheduled for Tuesday.

(Reporting by Jonathan Stempel in New York; Writing by Luc Cohen; editing by Grant McCool)