A federal judge in California on Friday postponed ruling on a request by President Donald Trump and his lawyer Michael Cohen to put on hold a lawsuit filed again them by porn star Stormy Daniels.

Judge S. James Otero said he will give Cohen until next Wednesday to file a declaration that he will refuse to answer questions in Daniels' suit because of his Fifth Amendment right against self-incrimination.

The judge could rule on the request to put the Daniels case on hold after that.

Cohen is seeking to stay Daniels' suit for up to 90 days because he is facing a federal criminal investigation by prosecutors in New York. Daniels' attorney opposes the delay.

Cohen whose office and home were raided April 9 by FBI agents, wants to avoid making statements in Daniels case that could potentially be used against him in the criminal case, according to Cohen's own attorneys.

Daniels's suit seeks to be released from a non-disclosure agreement she signed barring her from publicly discussing an affair she claims she had with Trump in 2006.

She also claims that Cohen, who paid her $130,000 for the agreement, recently defamed her by implying she is lying.

The potential that Cohen could soon be indicted in New York case was raised several times by his lawyer and Otero at a hearing on the requested delay in Daniels' case in U.S. District Court in Los Angeles.