A missing 11-year-old girl was rescued in Pennsylvania after authorities say they were able to find her location thanks to her iPad’s geolocation. 

Pennsylvania state troopers were notified of the missing child on Sunday, who was last seen riding her bike towards Youngwood in western Pennsylvania, the Westmoreland District Attorney’s Office said in a statement. 

Authorities arrived on the scene and found the girl’s bicycle near a gas station, where a bloodhound team picked up the child’s scent. 

The child was found later that day, and police arrested 43-year-old Keith Lilliock, charging him with luring a child into a motor vehicle and interference with the custody of children, authorities said. 

More: Boston teenager dies in ‘freak accident’ while skiing, family says

Nashville updates: Bodycam footage shows police confronting Nashville shooter; attacker had bought 7 guns

iPad leads to child rescue 

Investigators on the scene learned the child had an iPad with them and were able to ping the geolocation of the iPad. When authorities pinged it, it showed the iPad was at a home near Latrobe, about 10 miles east of Youngwood.

Authorities arrived and discovered the girl at the home and arrested Lilliock on Monday. 

What happened?

The girl told police she was trying to ride her bicycle to Pittsburgh to see her sister when she took a break at the gas station where she was last seen, the district attorney’s office said.