JACKSONVILLE (CBSMiami) – Florida beachgoers received quite a shock when something unexpected showed up in the water.

No, it wasn’t a shark, but it was just as dangerous.

READ MORE: Florida House Unanimously Approves School Safety Bill

Lifeguards and the Florida Fish and Wildlife Conservation Commission moved quickly after an alligator was spotted swimming just off Jacksonville Beach.

Swimmers were ordered out of the water as efforts were made to locate the gator.

READ MORE: Miami Weather: Mix Of Sun & Clouds, Building Easterly Breeze

Eventually, the 3-foot alligator was captured by a lifeguard, who paddled out and placed it into a net.

Officials said the gator would be relocated.

MORE NEWS: Moped Crash On County Line Road Leaves One Dead, One In Critical Condition

FWC says while its uncommon to find a gator on the beach, it’s not completely unheard of.