View more videos at: http://nbcbayarea.com.

A New Year's Day walk along a beach north of San Francisco ended tragically on Tuesday when a man died after he and his wife were swept out to sea.

Three hours into the search, the Coast Guard located the man. The Marin County sheriff's office said while "life saving measures" were attempted, they were unable to revive him and he died.

The man's wife and their dog were able to make it back to shore in Point Reyes, Calif., after also getting swept out into the cold water.

Read more news on NBCBayArea.com

The incident was reported at 1 p.m. local time (4 p.m. ET) on New Year's Day. Witnesses said the three were walking along the rocks when they were hit by a rogue wave.

The Coast Guard sent a helicopter and a boat to aid in the search for the man, who is reportedly 59 years old. They located him around 4 p.m. (7 p.m. ET)

The National Park Service and Marin County Fire also helped in the search.

The victim's identity was not immediately released.