William Petersen worked with policemen in Chicago and with the Federal Bureau of Investigation to learn more about his part. Michael Mann took three years to write the movie, and he also spoke to policemen to learn about their jobs. Because of this, books have said the movie is very true to real life.