A Boston police sergeant is thanking staffers at a Massachusetts hospital for saving his life after he recovered from the coronavirus, saying they “truly are remarkable people.”

John Greland, a 35-year department veteran, praised the care he received at South Shore Hospital in Weymouth in a series of tweets Saturday, one day after he was discharged from the facility.

“I want to thank the staff at South Shore Hospital from the bottom of my heart for saving my life,” Greland wrote. “After 10 days I took a turn for the worse and went by ambulance to SSH. I was given all sorts of antibiotics anti malarial drugs plus I was on oxygen.”

Greland, who had been diagnosed with double pneumonia in addition to COVID-19, said he still had a “little trouble” breathing on Saturday. A doctor told him not to expect his lungs to fully recover for up to two more weeks, he said.

“Again to thank the nurses and staff at South Shore,” Grenland wrote in a second tweet. “They truly are remarkable people.”

Greland, 64, was admitted to the hospital on April 2 and was certain that he was not going to survive, he told the Boston Globe.

“I thought I was going to die,” Greland said. “I firmly believed that when I got there I was dying and I was not going to walk out of the hospital.”

Greland is among 65 Boston cops who have tested positive for the coronavirus. Nine civilian employees have also been diagnosed with the illness, the Globe reports.

The captain, who was still recovering at home as of late Sunday, first started feeling sick on March 30.

“I was breathing really fast; you can’t get enough breath,” Greland told the newspaper. “You feel like you’re drowning.”

Doctors treated Greland with a regimen of antibiotics and the antimalarial drug hydroxychloroquine for seven days. He dropped 20 pounds by the time he left the hospital Friday, but his spirits are up, particularly after a moving send-off by six nurses who applauded him as he was wheeled out of the hospital.

“I almost lost it; it was close,” Greland told the Globe. “But it was pretty cool.”