A Royal Caribbean cruise ship rescued two sailors who were stranded at sea for several weeks.

"Empress of the Seas did rescue two sailors who had been adrift for more than 20 days," the cruise line said in a statement to USA TODAY. "Both passengers onboard the vessel were provided water and medical attention onboard by the ship’s crew. There were no injuries reported."

Royal Caribbean's chief meteorologist James Van Fleet documented the rescue on Twitter Friday. He says the stranded sailors were found between Jamaica and Grand Cayman in only a small boat.

Related: Giant ships, new destinations: The biggest cruise stories of 2018

"Empress lowered her tender boat at 21:57 and rescued the passengers," the Royal Carribean statement added. "Due to the high swell, the boat was towed close to the ship in order to get shelter."

Van Fleet added that the Royal Caribbean cruise took a detour from its normal itinerary in pursuit of "better weather" and would have not located the castaways otherwise.

“Sometimes a little luck is all you need for a miracle,” Van Fleet said.

It's not clear where the sailors started their journey.

Related: Carnival: Passenger reported missing on cruise from Alabama