Sayreville Police received a call at 11:20 a.m. on Monday from a family member staying at the Knights Inn, reporting their child was being attacked by their dogs.
Police arrived and saw the dogs attacking the 10-year-old boy.
To stop the attack, the officers shot the dogs and, in the process, an officer was struck and wounded by a ricochet, police said.
The child and the officer were taken to the hospital and are in stable condition, police said.
The investigation is ongoing.
* Get Eyewitness News Delivered
* Follow us on YouTube
* More local news
* Send us a news tip
* Download the abc7NY app for breaking news alerts