SAN DIEGO, Calif. (CBSNewYork) — One lucky dog has been rescued after falling off a boat in the Pacific Ocean.

Luna, an 18-month-old blue-eyed German Shepherd, fell overboard from a fishing boat nearly five weeks ago off the coast of San Clemente Island near San Diego.

READ MORE: Gabby Petito Search: Parents Say Fiancé Brian Laundrie's 'Silence Is Reprehensible'; Police In Utah Confirm Responding To Incident Involving Couple

Nick Haworth, Luna’s owner searched the area for days after Luna’s disappearance, but was unsuccessful, CBS Los Angeles reported. By Feb. 20, Hadworth presumed his beloved pet was gone for good.

Luna, an 18-month German Shepherd, swam to shore after falling off the side of a boat in early 2016. (Credit: CBS2)

Luna, an 18-month German Shepherd, swam to shore after falling off the side of a boat in early 2016. (Credit: CBS2)

However, Luna somehow managed to swim to San Clemente Island, which is owned by the U.S. Navy. Luna was later found walking along one of the roads there.

READ MORE: Police: Father Spit On After Asking Man To Stop Smoking Marijuana In Front Of 4-Year-Old Daughter On Subway 

“This is not a day that we thought would ever happen,” Connor Lamb, a friend of Luna’s owner, said.

Lamb came to take Luna home as her owner was out of town at the time of her discovery.

MORE NEWS: 1 Man Shot, Another Robbed While Dining Outside Philipe Restaurant On Upper East Side

Luna is expected to be reunited with her owner on Thursday.