Problem: Franz Joseph was born in the Schonbrunn Palace in Vienna, the eldest son of Archduke Franz Karl (the younger son of Holy Roman Emperor Francis II), and his wife Princess Sophie of Bavaria. Because his uncle, from 1835 the Emperor Ferdinand, was weak-minded, and his father unambitious and retiring, the young Archduke "Franzl" was brought up by his mother as a future Emperor with emphasis on devotion, responsibility and diligence. Franzl came to idolise his grandfather, der Gute Kaiser Franz, who had died shortly before the former's fifth birthday, as the ideal monarch. At the age of thirteen, Franzl started a career as a colonel in the Austrian army.

On 28 June 1914 Franz Joseph's nephew and heir Archduke Franz Ferdinand, and his morganatic wife Sophie, Duchess of Hohenberg, were assassinated by Gavrilo Princip, a Yugoslav nationalist of Serbian ethnicity, during a visit to Sarajevo. When he heard the news of the assassination, Franz Joseph said that "one has not to defy the Almighty. In this manner a superior power has restored that order which I unfortunately was unable to maintain." While the emperor was shaken, and interrupted his holiday to return to Vienna, he soon resumed his vacation at his imperial villa at Bad Ischl. Initial decision-making during the "July Crisis" fell to Count Leopold Berchtold, the Austrian foreign minister; Count Franz Conrad von Hotzendorf, the chief of staff for the Austro-Hungarian army and the other ministers. The ultimate resolution of deliberations by the Austrian government during the weeks following the assassination of the Archduke was to give Serbia an ultimatum of itemized demands which it was virtually certain Serbia would be unable or unwilling to comply with, thus serving as a "legal basis for war." However, the general movement toward war with Serbia was already in motion prior to assassination of the Archduke as evidenced by a June 14 memo of Berchtold recommending the "elimination of Serbia" as a state, which Franz Josef expressed agreement with in a letter delivered to Kaiser Wilhelm II in Berlin on July 5. In that letter, Franz Josef "...explicitly stated that the decision for war against Serbia had been made before the assassination of the Archduke, and that the events of Sarajevo only confirmed the already pre-existing need for a war." A week after delivery of the Austrian ultimatum to Serbia, on 28 July, Austria-Hungary declared war on Serbia. Within weeks, the Germans, Russians, French and British had all entered the fray which eventually became known as World War I.

Who was Serbia allied with?

Answer with quotes:

Question:
Petty was born October 20, 1950, in Gainesville, Florida, the first of two sons of Kitty (nee Avery), a local tax office worker, and Earl Petty, who worked in a grocery store. He had a brother, Bruce, who was seven years younger. His interest in rock and roll music began at age ten when he met Elvis Presley. In the summer of 1961, his uncle was working on the set of Presley's film Follow That Dream, in nearby Ocala, and invited Petty to watch the shoot.
Petty's first appearance in film took place in 1978, when he had a cameo in FM. He later had a small part in 1987's Made in Heaven and appeared in several episodes of It's Garry Shandling's Show between 1987 and 1990, playing himself as one of Garry Shandling's neighbors. Petty was also featured in Shandling's other show, The Larry Sanders Show, as one of the Story within a story final guests. In the episode, Petty gets bumped from the show and nearly comes to blows with Greg Kinnear. Petty appeared in the 1997 film The Postman, directed by and starring Kevin Costner, as the Bridge City Mayor (from the dialogue it is implied that he is playing a future history version of himself). In 2002, he appeared on The Simpsons in the episode "How I Spent My Strummer Vacation", along with Mick Jagger, Keith Richards, Lenny Kravitz, Elvis Costello, and Brian Setzer. In it, Petty spoofed himself as a tutor to Homer Simpson on the art of lyric writing, composing a brief song about a drunk girl driving down the road while concerned with the state of public schools. Later in the episode, he loses a toe during a riot. Petty had a recurring role as the voice of Elroy "Lucky" Kleinschmidt in the animated comedy series King of the Hill from 2004 to 2009. In 2010, Petty made a five-second cameo appearance with comedian Andy Samberg in a musical video titled "Great Day" featured on the bonus DVD as part of The Lonely Island's new album Turtleneck & Chain.
Answer this question using a quote from the text above:

What was his character in FM

Answer:
a cameo