The body of missing University of Alabama student James "Jimmy" Gracey was recovered Thursday in Barcelona, Spain, after a dayslong search, authorities confirmed.

Police recovered the body at Port Olimpic, a marina just steps from the waterfront nightclub where Gracey was last seen.

A spokesperson for Mossos d’Esquadra said the remains recovered at Port Olimpic have been identified as belonging to the 20-year-old junior, who was last seen early Tuesday morning at the waterfront Shoko nightclub.

Gracey, of Elmhurst, Illinois, disappeared around 3 a.m. after visiting the Shoko restaurant and nightclub.

"He was with friends, but they got separated at the end of the night," his mother, Therese Gracey, said. Gracey never made it back to the Airbnb he had rented with friends, his family said.

The discovery came after a search that included helicopters, boats, dive teams and motorcycle units, as authorities pursued multiple lines of investigation, including the possibility that Gracey may have drowned.

Divers said visibility in the water was extremely limited, at times only about 40 centimeters or roughly 16 inches.

Police had also recovered Gracey’s phone during the arrest of another individual, according to a family spokesperson, and were reviewing location data as part of the investigation.

"Our family is heartbroken as we confirm that Jimmy’s body has been recovered in Barcelona," the Gracey family said. "Jimmy was a deeply loved son, grandson, brother, nephew, cousin, and friend, and our family is struggling to come to terms with this unimaginable loss."

Authorities have not yet provided information on Jimmy Gracey's cause of death.

Fox News Digital's Michael Ruiz contributed to this reporting.