Created in 1999 in Brooklyn , ComAlert was recently the subject of a state-funded study carried out by the district attorney 's office in collaboration with Bruce Western of Harvard , a sociologist and criminal justice expert .