TRENTON — A woman who says she suffered serious injuries while trying to save her neighbor’s dog from a canal can’t sue the pooch’s owners, the state Supreme Court ruled on Monday.

The court unanimously rejected Ann Samolyk’s claims that laws allowing legal action for injuries suffered while rescuing a person who put themselves in peril should allow her to sue for damages. But the justices acknowledged that the law could apply to property in some cases where protecting human life also is the ultimate aim.

In her lawsuit, Samolyk alleged she suffered neurological and cognitive damage after jumping into the canal in Lacey Township at the Jersey Shore in 2017 to save the dog after she heard someone call for help. Beau, a seventy-nine-pound boxer, was unharmed.

The court wrote Monday that there could be circumstances in which trying to save property could qualify under the so-called rescue doctrine — for example, if a homeowner is injured trying to put out a fire in a nearby house on a reasonable belief that inhabitants might be in danger — but ruled those circumstances didn't exist in Samolyk's case.

“Notwithstanding the strong emotional attachment people may have to dogs, cats, and other domesticated animals, or the great significance some may attribute to family heirlooms, or works of art generally considered as irreplaceable parts of our cultural history, sound public policy cannot sanction expanding the rescue doctrine to imbue property with the same status and dignity uniquely conferred upon a human life,” Judge Jose Fuentes wrote.

An obituary for Samolyk published by the Asbury Park Press said she passed away last September at the age of 74.

A message was left Monday with an attorney representing Samolyk and her husband John.

15 sensational places to visit in Seaside Heights and Seaside Park

From amusement rides to all the boardwalk food and lots of water fun, Seaside Heights and neighboring Seaside Park have endured as a family friendly spot for all ages.

Along the way, the Seaside Heights Boardwalk and Casino Pier have been struck with tragic disasters - such as fire, Superstorm Sandy and another fire. Both have proven their resiliency through rebuilding and expansion.

Where to find NJ's newest legal weed stores

NJ approved six new recreational cannabis dispensaries. Here is where they are located.

Netflix’s Most Popular English-Language TV Shows Ever

These are the most popular TV shows ever on Netflix (in English), based on hours viewed in their first 28 days on streaming.