Question: The film named after the claim to be the last king of the country where Chopin was invited by the payer of his funeral is based on who?

full_context: Document 1: The Last King of Scotland (film): 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). The film is based on events of Amin's rule, and the title comes from a reporter in a press conference who wishes to verify whether Amin, who was known to adopt fanciful imperial titles for himself, declared himself the King of Scotland. The film has an approval rating of 87% at Rotten Tomatoes, and Whitaker won Best Actor at the Academy Awards, among others.
Document 2: The Bridge on the River Kwai: The film was widely praised, winning seven Academy Awards (including Best Picture) at the 30th Academy Awards. It used lush colour to bring out the British stiff upper lip of the colonel, played by Alec Guinness in an Oscar - winning performance. In 1997, the film was deemed ``culturally, historically, or aesthetically significant ''and selected for preservation in the National Film Registry by the United States Library of Congress. It has been included on the American Film Institute's list of best American films ever made. In 1999, the British Film Institute voted The Bridge on the River Kwai the 11th greatest British film of the 20th Century.
Document 3: Frédéric Chopin: Chopin's relations with Sand were soured in 1846 by problems involving her daughter Solange and Solange's fiancé, the young fortune-hunting sculptor Auguste Clésinger. The composer frequently took Solange's side in quarrels with her mother; he also faced jealousy from Sand's son Maurice. Chopin was utterly indifferent to Sand's radical political pursuits, while Sand looked on his society friends with disdain. As the composer's illness progressed, Sand had become less of a lover and more of a nurse to Chopin, whom she called her "third child". In letters to third parties, she vented her impatience, referring to him as a "child," a "little angel", a "sufferer" and a "beloved little corpse." In 1847 Sand published her novel Lucrezia Floriani, whose main characters—a rich actress and a prince in weak health—could be interpreted as Sand and Chopin; the story was uncomplimentary to Chopin, who could not have missed the allusions as he helped Sand correct the printer's galleys. In 1847 he did not visit Nohant, and he quietly ended their ten-year relationship following an angry correspondence which, in Sand's words, made "a strange conclusion to nine years of exclusive friendship." The two would never meet again.
Document 4: Frédéric Chopin: In late summer he was invited by Jane Stirling to visit Scotland, where he stayed at Calder House near Edinburgh and at Johnstone Castle in Renfrewshire, both owned by members of Stirling's family. She clearly had a notion of going beyond mere friendship, and Chopin was obliged to make it clear to her that this could not be so. He wrote at this time to Grzymała "My Scottish ladies are kind, but such bores", and responding to a rumour about his involvement, answered that he was "closer to the grave than the nuptial bed." He gave a public concert in Glasgow on 27 September, and another in Edinburgh, at the Hopetoun Rooms on Queen Street (now Erskine House) on 4 October. In late October 1848, while staying at 10 Warriston Crescent in Edinburgh with the Polish physician Adam Łyszczyński, he wrote out his last will and testament—"a kind of disposition to be made of my stuff in the future, if I should drop dead somewhere", he wrote to Grzymała.
Document 5: Frédéric Chopin: In 1827, soon after the death of Chopin's youngest sister Emilia, the family moved from the Warsaw University building, adjacent to the Kazimierz Palace, to lodgings just across the street from the university, in the south annex of the Krasiński Palace on Krakowskie Przedmieście,[n 5] where Chopin lived until he left Warsaw in 1830.[n 6] Here his parents continued running their boarding house for male students; the Chopin Family Parlour (Salonik Chopinów) became a museum in the 20th century. In 1829 the artist Ambroży Mieroszewski executed a set of portraits of Chopin family members, including the first known portrait of the composer.[n 7]
Document 6: Frédéric Chopin: Chopin's tombstone, featuring the muse of music, Euterpe, weeping over a broken lyre, was designed and sculpted by Clésinger. The expenses of the funeral and monument, amounting to 5,000 francs, were covered by Jane Stirling, who also paid for the return of the composer's sister Ludwika to Warsaw. Ludwika took Chopin's heart in an urn, preserved in alcohol, back to Poland in 1850.[n 9] She also took a collection of two hundred letters from Sand to Chopin; after 1851 these were returned to Sand, who seems to have destroyed them.
Document 7: Idi Amin: During his years in power, Amin shifted from being a pro-western ruler enjoying considerable support from Israel to being backed by Libya's Muammar Gaddafi, Zaire's Mobutu Sese Seko, the Soviet Union, and East Germany. In 1975, Amin became the chairman of the Organisation of African Unity (OAU), a Pan-Africanist group designed to promote solidarity among African states. Uganda was a member of the United Nations Commission on Human Rights from 1977 to 1979. The UK broke diplomatic relations with Uganda in 1977, and Amin declared that he had defeated the British and added "CBE" to his title for "Conqueror of the British Empire". Radio Uganda then announced his entire title: "His Excellency President for Life, Field Marshal Alhaji Dr. Idi Amin Dada, VC, DSO, MC, CBE".As Amin's rule progressed into the late 1970s, there was increased unrest against his persecution of certain ethnic groups and political dissidents, along with Uganda's very poor international standing due to Amin's support for the terrorist hijackers in Operation Entebbe. He then attempted to annex Tanzania's Kagera Region in 1978, so Tanzanian president Julius Nyerere had his troops invade Uganda; they captured Kampala on 11 April 1979 and ousted Amin from power. Amin then went into exile, first in Libya and then in Saudi Arabia, where he lived until his death on 16 August 2003.
Document 8: Gareth Unwin: Gareth Ellis-Unwin (born Gareth Unwin, 20 February 1972) is a British film producer best known for producing the 2010 film "The King's Speech", for which he won an Academy Award for Best Picture. He is also the co-founder and CEO of Bedlam Productions.
Document 9: Frédéric Chopin: In London Chopin took lodgings at Dover Street, where the firm of Broadwood provided him with a grand piano. At his first engagement, on 15 May at Stafford House, the audience included Queen Victoria and Prince Albert. The Prince, who was himself a talented musician, moved close to the keyboard to view Chopin's technique. Broadwood also arranged concerts for him; among those attending were Thackeray and the singer Jenny Lind. Chopin was also sought after for piano lessons, for which he charged the high fee of one guinea (£1.05 in present British currency) per hour, and for private recitals for which the fee was 20 guineas. At a concert on 7 July he shared the platform with Viardot, who sang arrangements of some of his mazurkas to Spanish texts.
Document 10: Frédéric Chopin: At the age of 21 he settled in Paris. Thereafter, during the last 18 years of his life, he gave only some 30 public performances, preferring the more intimate atmosphere of the salon. He supported himself by selling his compositions and teaching piano, for which he was in high demand. Chopin formed a friendship with Franz Liszt and was admired by many of his musical contemporaries, including Robert Schumann. In 1835 he obtained French citizenship. After a failed engagement to Maria Wodzińska, from 1837 to 1847 he maintained an often troubled relationship with the French writer George Sand. A brief and unhappy visit to Majorca with Sand in 1838–39 was one of his most productive periods of composition. In his last years, he was financially supported by his admirer Jane Stirling, who also arranged for him to visit Scotland in 1848. Through most of his life, Chopin suffered from poor health. He died in Paris in 1849, probably of tuberculosis.
Document 11: The Madness of King George: In adapting the play to film, the director Nicholas Hytner changed the name from "The Madness of George III" to "The Madness of King George" for American audiences, to clarify George III's royalty. A popular explanation developed that the change was made because there was a worry that American audiences would think it was a sequel and not go to see it, assuming they had missed "I" and "II". An interview revealed: "That's not totally untrue," said Hytner, laughing. "But there was also the factor that it was felt necessary to get the word "King" into the title."
Document 12: Frédéric Chopin: Mozart's Requiem was sung at the funeral; the soloists were the soprano Jeanne-Anais Castellan, the mezzo-soprano Pauline Viardot, the tenor Alexis Dupont, and the bass Luigi Lablache; Chopin's Preludes No. 4 in E minor and No. 6 in B minor were also played. The organist at the funeral was Louis Lefébure-Wély. The funeral procession to Père Lachaise Cemetery, which included Chopin's sister Ludwika, was led by the aged Prince Adam Czartoryski. The pallbearers included Delacroix, Franchomme, and Camille Pleyel. At the graveside, the Funeral March from Chopin's Piano Sonata No. 2 was played, in Reber's instrumentation.
Document 13: Frédéric Chopin: At the funeral of the tenor Adolphe Nourrit in Paris in 1839, Chopin made a rare appearance at the organ, playing a transcription of Franz Schubert's lied Die Gestirne. On 26 July 1840 Chopin and Sand were present at the dress rehearsal of Berlioz's Grande symphonie funèbre et triomphale, composed to commemorate the tenth anniversary of the July Revolution. Chopin was reportedly unimpressed with the composition.
Document 14: Frédéric Chopin: In April, during the Revolution of 1848 in Paris, he left for London, where he performed at several concerts and at numerous receptions in great houses. This tour was suggested to him by his Scottish pupil Jane Stirling and her elder sister. Stirling also made all the logistical arrangements and provided much of the necessary funding.
Document 15: Frédéric Chopin: With his health further deteriorating, Chopin desired to have a family member with him. In June 1849 his sister Ludwika came to Paris with her husband and daughter, and in September, supported by a loan from Jane Stirling, he took an apartment at Place Vendôme 12. After 15 October, when his condition took a marked turn for the worse, only a handful of his closest friends remained with him, although Viardot remarked sardonically that "all the grand Parisian ladies considered it de rigueur to faint in his room."
ground_truth: President Idi Amin
sub_queries: Who paid for Chopin's funeral? Answer: Jane Stirling
Where did Jane Stirling invite Chopin? Answer: Scotland
who was the last king of Scotland based on Answer: President Idi Amin