Indiana police officer, whose job was being broadcast live on cable televisionarrested a father after neighbors reported that his young son was wandering down the hallway of the apartment with a loaded gun, authorities said.

The footage was shown on «On Patrol: Live» by Reelz on Saturday night when Beech Grove police responded to a call about a child, wearing only diapers, allegedly walking around unsupervised and pointing a firearm.

Officers spoke to a neighbor who called police and then to the boy’s father, Shane Osborne, 45, who said there was no weapon in his apartment, «Live» footage showed.

Four responding police officers were about to leave the building when another neighbor approached and shared with them footage, taken from their doorbell camera, of an armed child in diapers, «Live» showed.

Officers immediately returned to Osborne’s apartment and eventually found a Smith & Wesson 9mm inside a locked roll-top desk, according to the Reelz show.

Richland County, South Carolina, Sheriff’s Department. Curtis Wilson, an analyst for «Live,» said he doubts the boy randomly placed the gun on that desk.

“The way it was placed on this dresser, the way it was strategically placed there and from top to bottom, it’s unlikely that a small child could do that,” he said.

Osborne was booked on suspicion of gross neglect of a clerk, police records showed, though more charges may be pending.

Before the firearm was found, Osborne had told cameras that he cannot possess guns as an ex-convict.

The father’s criminal history includes convictions for fraud and receiving stolen property, state records showed.

It was not immediately clear Tuesday whether Osborne had retained or been assigned an attorney. A call to his cell phone went straight to voicemail.