SOUTH SAN FRANCISCO — Robby Chon, the South San Francisco police officer who was gravely injured in a Thanksgiving Day assault, has been released from the hospital, according to police.

Chon was discharged Wednesday and will undergo “intense and continual rehabilitation” at his home, according to a statement released by the police department Friday.

“Doctors and therapists continue to remain optimistic regarding his progress,” the statement said.

Chon, who has served with South San Francisco police for 12 years, was on motorcycle patrol Nov. 24 in the 300 block of Grand Avenue when he was flagged down by someone reporting that a man was causing a disturbance at a nearby business.

Police said the man was confrontational and Chon called for backup. But before a second officer could arrive, the man took off on a skateboard, and Chon chased after him.

A short time later, the man stopped, turned around, and swung at Chon with the skateboard, hitting him in the head and knocking him unconscious, according to police.

Luis Alberto Ramos-Coreas, 28, of South San Francisco, was arrested in connection with the attack. He is charged with five felony counts including attempted murder, assault with a deadly weapon on a police officer and resisting arrest causing great bodily injury.

On Wednesday, a San Mateo County Superior Court judge appointed a pair of doctors to assess whether Ramos-Coreas is competent to stand trial. Their evaluations are due by Feb. 2. In the meantime, Ramos-Coreas remains in jail on $2 million bail.

There has been an outpouring of support for Chon and his family since the assault, including an online fundraiser that saw more than 1,300 people contribute roughly $125,000.

“All the support, thoughts and prayers are truly inspiring to Officer Chon as he continues his fight to recover from this tragedy,” the statement said. “He is very thankful to be home for Christmas and the support from the community has helped make it possible.”