Two lawmakers in New York state have proposed a bill that would strip police officers of their state pension benefits if fired for issues involving “serious” misconduct.

According to the New York Post, State Senator Luis Sepulveda (D-The Bronx) and Assemblywoman Diana Richardson (D-Brooklyn) introduced the legislation that would bar members of law enforcement from receiving retirement benefits if they are fired in cases involving misconduct or malfeasance, or resign or retire in the middle of misconduct investigation in connection to their job.

The move comes in the midst of an effort to defund police agencies across the country, with the New York City Council voting last week to redirect as much as $1 million of funds to other city services.