Yes, it was based on real events. The movie drew inspiration from actual incidents to create its compelling narrative.
Partly. While it has elements of truth, some parts might have been dramatized or fictionalized for cinematic effect. But the core story has a basis in reality.