NEW YORK (CBSNewYork) — A top New York City Schools official has been fired after being arrested.

David Hay, who was the deputy chief of staff to schools chancellor Richard Carranza, is accused of using a computer to facilitate a child sex crime.

READ MORE: Gabby Petito Search: Authorities Combing Wyoming Wilderness For Missing Woman, Fiancé's Whereabouts Remain Unknown

His arrest comes after an undercover investigation by the Neenah Police Department in Wisconsin.

READ MORE: Teen Stabbed To Death After Dutchess County High School Football Game, Former Student Charged

The 39-year-old Brooklyn man was taken into custody Sunday at the General Mitchell International Airport in Milwaukee.

A spokesperson for the Department of Education says Hay was terminated after the city learned of his arrest.

MORE NEWS: Man Accused Of Stealing FDNY Coat, Radio From Bronx Fire Station

The DOE says Hay did not have regular contact with children in his role with the city.