Starting next month animal shelters and rescue organizations will have to register with the state under a bill Gov. Andrew Cuomo signed into law Tuesday.

Under the new law, sponsored by state Sen. Phil Boyle, R-Bay Shore, nonprofit animal shelters and rescue organizations will now have to be licensed and inspected by the Department of Agriculture and Markets. Previously, only pet stores and home-based sellers of cat and dogs had to be licensed and inspected by the state.