A man was arrested after the child he is accused of kidnapping and sexually assaulting activated an emergency alarm on his phone, leading police to their location.

According to a release from the Grand Junction Police Department, Aaron Scott Smith, 47, was arrested and is facing charges including luring of a child, kidnapping, and sexual assault of a child. Smith is from Utah.

The victim told police he met someone he believed to be either 13 or 14 years old on a social media app called "Kik." According to the release, the victim communicated with that person for several days.

The person then messaged the victim on Kik saying they were in town and wanted to meet up, the release says. They agreed on a location, but according to the release, when the victim arrived he was approached by Smith who was in a vehicle.

Smith called the victim by name and told him to get in the vehicle, the release says.

The child got into the car and immediately activated an emergency alert on his cell phone, according to the release.

The Grand Junction Police Department received the panic alarm and were able to locate a car in a dark location near Hayes Drive and Miranda Street, the release says. According to the release, the windows of the car were tinted dark and the license plate of the car was also obscured by a tinted cover.

According to the release, officers shone their spotlight on the car and did not see anyone in the front seat but did see what looked like an adult male in the back seat of the car.

As officers approached the car, they saw Smith climbing from the back of the car into the front seat and attempting to put his keys into the ignition, the release says.

Smith was told to put his hands on the wheel and he was taken into custody. The release also says police found a juvenile in the backseat of the car.

The release says Smith has prior felony convictions related to sexual crimes against children.

Grand Junction police praised the victim for having the presence of mind to use his phone alert so they could find him. They also reminded parents to talk with their children about using social media and how to stay safe.