MANTOLOKING, N.J. (CBSNewYork/AP) — The Jersey Shore belongs to everyone and there should be no question about it, one state lawmaker says.

As WCBS 880’s Peter Haskell reported, lawmakers are going back to the Roman Empire in their latest effort to guarantee public access to the shoreline.

READ MORE: 2 Dozen Members Of Military Begin Serving As Pandemic Reinforcements At Newark's University Hospital

State Sen. Bob Smith (D-Piscataway) said the ability of people to access the beach is part of common law referred to as the king’s right.

“The state has the right to a certain portion of the shoreline, and it has that right of access to the shoreline on behalf of its citizens,” he said.

Smith said the state’s citizens are the equivalent of the king’s subject.

Smith and other state lawmakers have introduced a new beach access bill that writes the Public Trust Doctrine — guaranteeing public access to waterways — into law.

READ MORE: NYPD Narcotics Detective Wounded In Shooting On Staten Island Hailed As Hero For Protecting Fellow Officers

He said the bill would eliminate any ambiguities.

“You have a beach for everybody,” Smith said.

Some Jersey Shore towns have long sought to keep outsiders off their sand through exorbitant beach badge prices, drastic restrictions on parking, and rules prohibiting food on the beach.

There was opposition to the bill from property owners and environmentalists, but Smith called it a consensus bill.

The bill exempts critical infrastructure like waterfront chemical or nuclear plants.

MORE NEWS: Search Continues For Gunman After 11-Month-Old Shot By Stray Bullet In Bronx

(© Copyright 2018 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)