Question: who was the last king of scotland based on
Answer: The film tells the fictional story of Nicholas Garrigan ( James McAvoy ) , a young Scottish doctor who travels to Uganda and becomes the personal physician of President Idi Amin ( Forest Whitaker ) .