A Massachusetts police officer saved a choking two-month-old infant Wednesday night after the child's parents rushed the baby to the local police department.

Officer Ryan Porter encountered the parents as they rushed their infant inside the lobby of the Framingham Police Department shortly before 6 p.m. Wednesday.

BIDEN TO PROPOSE SPENDING $37B TO FIGHT CRIME, HIRE MORE POLICE OFFICERS

A video posted to the social media account shows the parents, seemingly out of breath, handing over their child to the officer after immediately meeting them at the door. 

Porter, who serves as a CPR instructor for the department, proceeded to evaluate the baby as it struggled to breath. 

Police officer

Framingham Police Department officer saves 2-month-old (Framingham Police Department )

"Moments later the infant stopped breathing and Officer Porter delivered a series of back blows, which cleared the obstruction and allowed the infant to breathe," the department wrote in a Facebook post. 

The video then cuts to Porter calmly rocking the baby as the father smiled.

CLICK HERE TO GET THE FOX NEWS APP 

The parents appeared relieved with the father bent over breathing as the mother placed a hand over her heart, seemingly still attempting to catch their breath and looking relieved.  

"This happy outcome is a credit to the fast actions of the parents and Officer Porter," Framingham Police Department said. "Well done!"

The identity of the parents and infant were not released.