Gangs of New York

Gangs of New York is a 2002 American epic period drama film directed by Martin Scorsese, set in the mid-19th century in the Five Points district of New York City. The screenplay is by Jay Cocks, Steven Zaillian, and Kenneth Lonergan. It was inspired by Herbert Asbury's 1927 non-fiction book, The Gangs of New York. It was made in Cinecittà, Rome, distributed by Miramax Films and nominated for numerous awards, including the Academy Award for Best Picture, among nine other Oscar nominations.

Question: was the movie gangs of new york based on fact
Answer: yes