In 2002, Devgn performed in Ram Gopal Varma's fictional examination of the Mumbai underworld in the film Company. Devgn played a gangster named Malik. Both Company and Devgn's performance received critical acclaim. As Taran Adarsh reviewed: "Ajay Devgn enacts his role to perfection. A controlled performance, the actor takes to this complex character like a fish takes to water. He underplays his part with admirable ease." Devgan was nominated for the Filmfare Best Actor Award and won the Filmfare Critics Award for Best Actor. Devgn's next release was David Dhawan's comedy Hum Kisise Kum Nahin, with Amitabh Bachchan, Sanjay Dutt and Aishwarya Rai. The same year, he played the role of Bhagat Singh, in Rajkumar Santoshi's biopic The Legend of Bhagat Singh. His performance was well received by critics. Taran Adarsh said, "Ajay Devgn has lived the role. To state that he is excellent would be an understatement. His performance is bound to win admiration from cinegoers, besides fetching awards." The film was released on 7 June 2002 and went on to win two National Film Awards, including the National Film Award for Best Feature Film in Hindi, and three Filmfare Awards, including the Filmfare Critics Award for Best Movie. Despite these awards, and Devgn winning his second National Film Award for Best Actor for his performance, the film was not popular with the public. Devgn went on to perform in Anees Bazmee's Deewangee. The film was partially inspired by william Diehl's novel, Primal Fear. The film earned Devgn several awards for his role including a Filmfare Best Villain Award, the Star Screen Award for Best Villain and the Zee Cine Award for Best Actor in a Negative Role. The film was a success at the box office.