By the time she left office at the end of 2005 , that undercover pedophile operation had snared 111 men , including a Roman Catholic priest , a private-school headmaster , a New York City detective and a former Brooklyn prosecutor .