ALBANY, N.Y. (AP) — New York is making it illegal for nannies to misrepresent their credentials.

A new state law signed by Democratic Gov. Andrew Cuomo makes it a misdemeanor for a nanny or someone else to lie about their references or background for employment purposes.

The law is known as "Lulu and Leo's Law" in honor of two children who were murdered by their nanny in 2012 in New York City. The woman's credentials and references had been faked.

Lawmakers passed the measure earlier this year.

Republican Sen. Andrew Lanza of Staten Island sponsored the bill. He says it will protect children and families and hopes it will prevent future tragedies.