Landlords will be required to make court-ordered repairs on the properties within two months as part of a new law that was inspired by the death of an 8-year-old child in the Bronx 18 years ago.

The measure, signed into law by Gov. Andrew Cuomo last week, will require judges to set a maximum 60-day deadline for property owners to make repairs. The proposal was first made after 8-year-old Jashawn Parker died in a Bronx fire in 2002 in a building where tenants had long complained of the lack of repairs.

Sponsored by Sen. Robert Jackson and Assemblyman Jeff Dinowitz, the new law also creates a "good cause shown" threshold for judges to grant extensions beyond the two-month period.

“Every year for the past eighteen years I have fought to get some semblance of justice for Jashawn Parker," Dinowitz said.

"This law will not bring back the life of that young child, but it will hopefully prevent harm for countless others in years to come. I have no patience for any landlord who claims this will cause them financial harm – these are things that every property owner has an obligation to do, and it is only because of their continued negligence that tenants had to seek help from Housing Court at all. I am deeply appreciative of State Senator Jackson for his longtime support of my bill, and thank you to Governor Cuomo for signing this legislation into law.”

The measures takes effect next month.