The cancer-ridden NYPD detective who shared emotional testimony with Jon Stewart last week in support of the September 11th Victim Compensation Fund bill is now in hospice care.

Luis Alvarez, who responded to Ground Zero, shared the tragic news on Facebook that there “is nothing else the doctors can do to fight the cancer.”

“Hello everyone, ‘I’m still here and still fighting,'” Alvarez, 53, wrote Wednesday, with an undated photo of himself in better times.

Last week, Alvarez told a House Judiciary subcommittee that he was there to testify despite having his 69th round of chemotherapy scheduled for the very next day.

“You made me come down here the day before my 69th round of chemo and I’m going to make sure that you never forget to take care of the 9/11 responders,” he told lawmakers at the time, with former “Daily Show” host Stewart by his side.

Alvarez, who has liver cancer as a result of his work on 9/11, said his transfer to hospice care “had nothing to do with my trip to DC, that was just coincidence.”

“The day after my trip I was scheduled for chemo, but the nurse noticed I was disoriented,” Alvarez wrote. “A few tests later they realized that my liver had completely shut down because of the tumors and wasn’t cleaning out the toxins in my body and it was filling up with ammonia, hence the disorientation.”

“So now I’m resting and I’m at peace. I will continue to fight until the Good Lord decides it’s time,” he continued.

Despite Alvarez’s health taking a turn for the worse, he vowed to keep fighting for the 9/11 victim bill, which would permanently reauthorize the fund until 2090 to account for all adult and child victims of the 2001 terror attacks.

The bill passed through the House Judiciary Committee, following testimony from Stewart and Alvarez, and is expected to pass overwhelmingly in the House, with 322 co-sponsors now signed on.

“I will try to do a few more interviews to keep a light on our fight for the VCF benefits we all justly deserve,” he wrote on Facebook.

The bill is gaining support in the Senate, too.

There are now 45 co-sponsors for the bill, including 11 Republicans. Following Sen. Rick Scott (R-Fla.), Sens. Gary Peters (D-Mich.) and Dan Sullivan (R-Alaska) were added as co-sponsors Tuesday.

With the support of Sen. Todd Young (R-Ind.) who signaled to The Post last week that he was amenable to voting for the bill, if every Democrat votes for the Senate legislation it should be at a filibuster-proof majority.

Additional reporting by Bernadette Hogan