A rambunctious black Labrador named Bear — one of only five dogs in the nation trained to sniff out electronic data devices — played a key role in the arrest of former Subway pitchman Jared Fogle on child-porn charges, NBC News reported.

The 2-year-old rescue pooch nosed out a thumb drive that humans had failed to find during a search of Fogle's Indiana house in July, several weeks before he agreed to plead guilty to having X-rated images of minors and paying to have sex with teenage girls.

Bear has taken part in four other investigations, including this week's arrest of Olympics gymnastics coach Marvin Sharp.

"I thought I was being punked, but it does work," said Steven DeBrota, the lead prosecutor on the Fogle case.

Read More