A Washington, D.C., man has been charged with attempted murder after allegedly stabbing two men in the head and neck Saturday morning at a Waldorf restaurant.

Surveillance footage showed Ricardo Anthony Davis, 45, and a friend standing at a table inside the WOW Cafe & Wingery restaurant in the Waldorf Marketplace shopping center around 1 a.m. when two other men walked up behind them, according to charging papers.

After exchanging some words, one of the men, 37, of Washington, D.C., punched Davis’ friend in the face three times, the papers state.

Davis retaliated by pulling a knife and stabbing the other man, 40, of Suitland in the neck, court records state.

The victims tried to leave the restaurant, but Davis followed them to the exit and stabbed the District man in the back of the head, the records state. The footage then shows Davis hiding the knife underneath a floor mat near the exit.

Both of the stabbing victims left the restaurant holding their wounds and reported the stabbings to Cpl. Calvin Roberts of the Charles County Sheriff’s Office, who was off-duty and working a part-time security job at the restaurant, charging documents state.

Roberts noticed both men were bleeding profusely — the Suitland man appeared to have arterial bleeding — and administered first aid, according to the documents.

Soon after, Davis, covered in blood stains, left the restaurant and was immediately arrested and forced to the ground by Roberts, who instructed nearby citizens to apply pressure to the victims’ stab wounds, court papers state.

At one point, Roberts released his grip and Davis ran away while handcuffed, but he was quickly caught by another officer on the scene, the records state.

The victims were taken to Prince George’s Hospital Center in Cheverly, where they underwent emergency surgery before being released, the papers state.

Roberts also detained Davis’ friend, whose clothes were stained with blood, according to court records.

A detective arrived on the scene and noted a large spatter of blood on the sidewalk outside the restaurant's entrance, the documents state.

Officers found the blood-stained knife under the mat where Davis had hidden it, the papers state.

Davis admitted to the stabbings in an interview with investigators but claimed they were in self-defense following the assault on his friend, the record state.

Davis said he feared for his life and the well-being of his friend and also admitted to discarding the knife near the front exit of the restaurant, according to the documents.

Davis has been charged with two counts each of attempted first-degree murder, first- and second-degree assault, reckless endangerment and use of a dangerous weapon with intent to injure. He was ordered held without bail Monday in Charles County court.