A dog trained to sniff out electronics helped find a piece of key evidence in the Jared Fogle child pornography investigation, according to prosecutors.

The Labrador retriever named Bear has been trained to find electronic media storage devices, such as SD cards and thumb drives, according to WRTV.

Bear is one of only three dogs in the U.S. trained to discover such items, according to CBS 4.

In July, federal investigators conducted a search of the former Subway spokesman’s Indiana home. On Wednesday, officials provided a list of the items examined from the Fogle residence, which included dozens of phones and memory storage devices, along with several tablets, laptops and hard drives.

>> Read more trending stories

Prosecutors said Bear discovered a hidden flash drive at the residence which proved to be key to the investigation.

It was also announced Wednesday that Fogle will plead guilty to child pornography charges and will spend, at minimum, several years in prison in addition to having to seek treatment and pay restitution to his victims.

The dog and his handler have assisted the Indiana Crimes Against Children Task Force in five investigations. Bear is headed next to Seattle to work for the city’s police department.