ALBANY, N.Y. (AP) — New York lawmakers have passed a repeal of a decades-old law that has kept officers’ disciplinary records secret.

Gov. Andrew Cuomo, a Democrat, said he would sign the legislation. Past efforts to repeal it has failed in recent years but the measure received new backing amid the national uproar over the death of George Floyd.

The state law was passed in the 1970s to prevent criminal defense attorneys from subjecting officers to harassing cross-examinations about irrelevant information in their personnel file.

The state’s Democrat-led legislature passed the repeal Tuesday.

.