UPDATE: Two arrested in connection with shooting in Panama City Beach

BAY COUNTY, Fla. (WJHG/WECP) - UPDATE: 3-26-17 9:30 p.m.

Bay County sheriff's officials have identified the two people arrested in connection with one of the shootings Sunday in Panama City Beach.

The two men are Tristian Julian Buyck, age 21, of Montgomery, Alabama, and Grenden James Jordan, age 19, also of Montgomery, Alabama. Both were charged with Armed Home Invasion Robbery at Cooks Motel.

They were two of five people in the car when deputies apprehended them in the parking lot of the Pier Park Walmart.

Deputies initially believed the two shootings were connected, but after examining the evidence, they say it's possible they were not related. Investigators say they are following all leads in both incidents.

The victim from the second shooting remains in critical condition.

UPDATE: 3-26-17 9 p.m.

Sheriff Tommy Ford told us Sunday afternoon that deputies were first called to the Cook's Motel on Front Beach Rd. around 11 a.m. in reference to an armed robbery.

Ford said the victims told deputies three armed, black men tried to rob them. When one of the victims tried to run away, he told deputies that one of the suspects shot at him, but missed.

About 30 minutes after arriving to the motel, deputies were called to another shooting scene on Thomas Dr. behind the Burger King across from the Navy base.

There they found a black male who had been shot in the stomach. He told deputies several men had robbed him and said they may have taken his AK-47. The victim was taken to Bay Medical for surgery and was listed in critical condition.

Deputies alerted the public and the media with the descriptions of the three black men who witnesses described at Cook's Motel.

Not long after, a family that had been listening to the radio heard the description of the suspects and their vehicle and recognized the license plate number pulling into the Pier Park Walmart parking lot.

They called deputies who arrived on scene and took the suspects into custody at gunpoint but without incident.

Sheriff Tommy Ford said it took a team effort to bring them into custody.

"We can't thank our partners in law enforcement and in the media and the public for working together with us on this to get this very real and significant threat off the streets of Bay County," he said.

The connection between the shootings wasn't immediately clear.

---
UPDATE: The search is over for three suspects sheriff's deputies believe are connected to multiple shootings Sunday morning in Panama City Beach.

Deputies tell us, three black males were taken into custody around 1:30 p.m., Sunday, at the Walmart in Pier Park.
_____________________________________________________

Sheriff's deputies say that Sunday morning, one shot was fired at Cooks Motel; then, one person was shot after a second shooting occurred on Coastal Palm Blvd., off Thomas Drive, across from the Navy Base.

At the time officials said, the suspects were known to have a loaded AK 47 and should be considered armed and dangerous.

For hours Sunday morning, authorities searched for the three suspects traveling in a silver-gray SUV, a GMC Terrain, Alabama tag 3AH1208.

Deputies describe one suspect as a bald, black male possibly wearing floral pants. We're told the second suspect is a shorter black male, with dreds. The third suspect is also a black male.

Anyone with information on these shootings is asked to contact the Bay County Sheriff's Office at (850) 747-4700 or Crime Stoppers at (850) 785-TIPS.