In Costa Mesa , Calif. , for example , in Orange County , the City Council last year shut down a day laborer job center that had operated for 17 years , and this year authorized its Police Department to begin training officers to pursue illegal immigrants -- a job previously left to federal agents .