Updated

A valiant police dog in Spain showed off its first-responder skills by apparently performing CPR on an agent who played dead.

Poncho the pup, of the Municipal Police of Madrid, performed the "heroic" life-saving deed on an officer and "did not hesitate for an instant to 'save the life' of the agent," the department said in a translated tweet on Friday.

It appeared to be a demonstration in front of a crowd, who applauded the quick-thinking canine.

The video, posted on Friday, showed the officer falling to the ground and pretending to be unresponsive. Poncho, donning a harness with a flashing emergency light attached, jumped to the rescue.

FORMER PRESIDENT GEORGE H.W. BUSH WELCOMES SERVICE DOG NAMED SULLY, SHOWS OFF BILL CLINTON SOCKS 

The dog pounced up and down repeatedly on the officer's chest and placed its ear by the man's neck to detect whether he was breathing. Poncho continued to "save" the cop until he stood up — and gave the dog a well-deserved treat.

Since its posting on Friday, the video of Poncho has received more than 12,000 retweets and 21,000 likes.