In what year did Tom Hanks attach to this project ?
In 2007 , Hanks starred in Mike Nichols 's film " Charlie Wilson 's War " ( written by screenwriter Aaron Sorkin ) in which he plays Democratic Texas Congressman Charles Wilson .