WILMINGTON, Del. — Hunter Biden’s daughter Naomi testified Friday in his federal gun trial about visiting her father while he was at a California rehab center, telling jurors that he seemed to be improving in the weeks before he bought the revolver in 2018.

“I hadn’t seen my dad in a long time, and I knew he was in a rehab facility there. He reached out,” she told jurors softly, explaining that they met at a coffee shop, along with his “sober coach.”

As she was dismissed from the stand, she paused to hug her father before leaving the courtroom.

The defense began calling witnesses shortly after federal prosecutors wrapped up their case.

Biden’s attorney Abbe Lowell started by calling another gun store clerk who was there when the firearm was purchased, raising questions about what he saw as inconsistencies on the form.

He also questioned the owner of the shop who allowed the sale to go through using Hunter’s passport, although it did not include an address as required.

Then he called Hunter’s daughter.

In October 2018, the month he bought the gun, Naomi traveled from Washington to New York in her father’s truck to move her boyfriend’s belongings. Hunter drove Joe Biden’s Cadillac to New York later that month to retrieve his truck, leaving the Cadillac with Naomi. She told jurors she didn’t see any drug paraphernalia or evidence of drug use.

“He seemed great. He seemed hopeful,” she said.

But prosecutors showed Naomi texts where he didn’t respond to her for hours after she messaged him about switching cars. At 2 a.m., Hunter texted Naomi asking where the keys to his truck were and whether her boyfriend could meet and swap vehicles.

“Right now?” she responded.

“Do you know what your father was doing at 2 o’clock in the morning and why he was asking you for the car then?” prosecutor Leo Wise asked.

“No,” she said.

Wise read a text message from the time, where she responded: “I’m really sorry dad I can’t take this.”

When court broke for lunch, and as Hunter prepared to leave, he motioned to the first row that was full of his family members, including first lady Jill Biden, who traveled back from France for the proceedings. The first lady took Hunter’s hand and held it until they got to the door.

Jurors were sent home for the afternoon after the defense had no more witnesses, and Lowell said he was weighing who else to call, although previously he said the president’s brother James would take the stand, and he was in court.

The trial will resume Monday.

The week’s proceedings have been largely dedicated to highlighting the seriousness of Biden’s drug problem through highly personal testimony, all in an effort by prosecutors to prove that the president’s son lied on a mandatory gun-purchase form when he said he was not illegally using or addicted to drugs.

Jurors heard earlier in the week from Biden’s ex-wife and a former girlfriend who testified about his crack cocaine use and their failed efforts to help him get clean. They saw images of the president’s son half-naked holding crack pipes. And they watched video of his crack cocaine weighed on a scale.

Prosecutors say the evidence is necessary to prove that Biden, 54, was in the throes of addiction when he bought the gun and therefore lying when he checked “no” on the form that asked whether he was “an unlawful user of, or addicted to” drugs.

Lowell has argued that Biden did not think of himself as an “addict” when he bought the gun and did not intend to deceive anyone.

Meanwhile, President Joe Biden worked to walk the line between president and father, telling ABC in an interview that he would accept the jury’s verdict, ruling out a pardon for his son.

Biden is in France this week for D-Day anniversary events. Jill Biden, who attended court most of the week, returned to France for a state dinner.

Hunter Biden has been charged with three felonies: lying to a federally licensed gun dealer, making a false claim on the application by saying he was not a drug user, and illegally having the gun for 11 days. He has pleaded not guilty.

He had hoped to resolve the gun case and a separate tax case in California with a plea deal last year, the result of a yearslong investigation into his business dealings. The deal had him pleading guilty to lower-level charges that would have avoided the spectacle of a trial so close to the 2024 election. It fell apart after Judge Maryellen Noreika, who was appointed by then-President Donald Trump, questioned unusual aspects of the proposed agreement, and the lawyers couldn’t resolve them.

Hunter Biden said he got charged because the Justice Department bowed to pressure from Republicans who argued that the Democratic president’s son was getting special treatment, and who have escalated their attacks on the criminal justice system since Trump’s recent conviction in New York City in a hush money case.

It’s unclear yet whether Hunter Biden will testify. But jurors have already heard his voice.

Prosecutors played audio excerpts in court of his 2021 memoir “Beautiful Things,” in which he wrote about his lifelong addiction issues and spiraling descent after death of his brother Beau in 2015. The book, written after he got sober, covers the period he had the gun but doesn’t mention it specifically.

If convicted, Biden faces up to 25 years in prison, but it’s unclear whether the judge would give him time behind bars.