Mike Nichols's political film "Charlie Wilson's War" (2007) gave Hoffman his second Academy Award nomination, again for playing a real individual – Gust Avrakotos, the CIA agent who conspired with Congressman Charlie Wilson (played by Tom Hanks) to aid Afghani rebels in their fight against the Soviet Union.