Tammany leaders had a lot of influence on the Police Department, and that helped protect their gambling interests.