A white New York City police officer who was charged with violating the civil rights of a black man on Staten Island has reached an agreement with prosecutors to plead guilty, his lawyer said on Thursday.

The officer, Michael Daragjati, 32, is scheduled to make the plea on Jan. 24 in Federal District Court in Brooklyn.

Officer Daragjati was recorded last April using a racial slur to brag about the arrest of the black man, whom prosecutors said the officer had stopped, searched, arrested without cause and falsely accused of resisting arrest.

The government said it intercepted and recorded a call between Officer Daragjati and a female friend in which the officer said he had “fried another nigger.”

Officer Daragjati was also charged with making a death threat, extortion and fraud in separate episodes. His lawyer, Eric P. Franz, would not provide details about the plea agreement, but he said that race played no part in the decision to arrest the black man.

The civil rights violation, a misdemeanor, carries a sentence of up to a year in prison and a fine of up to $100,000.

The extortion and fraud charges together carry a much longer maximum sentence: up to 20 years in prison and fines up to $500,000.