FORT PIERCE, Fla. (CBS12) — Authorities arrested two men after reports of gunshots in Fort Pierce, and the search for the gunman became a lot easier once one of the suspects provided a video of the shooting to deputies.

Two St. Lucie County deputies responded to reports of gunshots near Collins Park in Fort Pierce Monday. After they pulled over a truck for blowing a stop sign, the driver gave consent for a search of the vehicle. When deputies found a stolen gun, spent shell casings, and cocaine residue, the driver tried to save himself by showing them the footage.

St. Lucie County Sheriff Richard Del Toro Jr. explained how the digital evidence led to the arrests.

“He basically gave consent to watch the video. While the one video does show the other gentleman shooting the gun. But there was another video where the arms out the window, there’s a scar on the arm shooting the gun, while there’s a scar on the arm of the driver of the vehicle. Kind of matches up probable cause, and that’s how we got to where we were,” the Sheriff said.

Authorities arrested the driver, 18-year-old Andy Marcin-Ortiz, and used the video to arrest Joel Macias Lozano. Both were charged with discharging a firearm from a vehicle.

Nearby resident Leslie Brown believes a more visible police presence would help prevent these types of crimes in the area.

“There’s trouble everywhere, but I don’t think everyone’s going to shoot with the police officer right there across the street they are patrolling, you know, in the neighborhood, which they do. But it would be nice to see them,” Brown said.

Brown was not home when the shooting occurred, but her daughter was. She noted the fear that comes with such an event happening so close to home.

See also: Driver trapped, airlifted after violent crash near I-95 in Hobe Sound

“It doesn’t matter if your kids are 15 or 20 or nine to know that you’re at work. And something like that happened literally physically, 500 feet from their house. You know that is scary,” Brown shared.

The St. Lucie County Sheriff’s Office is now working with Jacksonville law enforcement to determine how the gun ended up in Fort Pierce. While both men were charged as adults, Sheriff Del Toro urged parents to remain vigilant and keep an eye on their children for potential warning signs.

“There are some red flags I think their parents need to be concerned with. I know they’re adults, 18 years old, but they’re still, you know, probably live ar home, things like that. So hopefully those are things they can work out with their families,” Del Toro said.

Both men remain in the St. Lucie County Jail. Marcin-Ortiz’s bond is set at $9,000, while Macias Lozano’s bond is $5,000.