A United Kingdom man has been released from prison after...

The homeless man accused of fatally bludgeoning four sleeping vagrants and leaving a fifth clinging to life was hauled off to court Sunday afternoon for arraignment in the bloody Chinatown rampage.

Randy Santos, 24, kept his head down and ignored questions from reporters as cops escorted him in handcuffs from the Fifth Precinct headquarters shortly before 2:30 p.m.

Santos, whose last known address is a homeless shelter in Brooklyn, was charged earlier Sunday with four counts of murder, one count of attempted murder and unlawful possession of marijuana, the NYPD said.

Also Sunday, six seconds of chilling surveillance video emerged that allegedly shows Santos using a 3-foot piece of construction metal to repeatedly bash one victim outside the Forever Health pharmacy at 2 East Broadway.

“I saw video … It was horrible,” pharmacy worker Joe Hing said in broken English.

“I saw him walking, he had a metal and hit him like seven times. Ten minute he come back and hit them again. Two times.”

Santos has a history of unprovoked violence, law enforcement sources have said.