Problem: Background: Maelgwn Gwynedd (Latin: Maglocunus; died c. 547) was king of Gwynedd during the early 6th century. Surviving records suggest he held a pre-eminent position among the Brythonic kings in Wales and their allies in the "Old North" along the Scottish coast. Maelgwn was a generous supporter of Christianity, funding the foundation of churches throughout Wales and even far beyond the bounds of his own kingdom. Nonetheless, his principal legacy today is the scathing account of his behavior recorded in De excidio
Context: After the collapse of Roman authority in Britain, north Wales was invaded and colonized by Gaelic tribes from Ireland. The kingdom of Gwynedd began with the reconquest of the coast by northern Britons under the command of Maelgwn's great-grandfather Cunedda Wledig. Generations later, Maelgwn's father Cadwallon Long-Hand completed the process by destroying the last Irish settlements on Anglesey. Maelgwn was the first king to enjoy the fruits of his family's conquest and he is considered the founder of the medieval kingdom's royal family. He is thus most commonly referenced by appending the name of the kingdom to his own: Maelgwn Gwynedd.  By tradition, his llys (English: royal court, literally hall) was located at Deganwy, in the Creuddyn peninsula of Rhos. Tradition also holds that he died at nearby Llanrhos, and was buried there. Other traditions say that he was buried at Ynys Seiriol (English: Island of St. Seiriol, Puffin Island), off easternmost Anglesey. There are no historical records to confirm or deny these traditions.  Historical records of this early era are scant. Maelgwn appears in the royal genealogies of the Harleian genealogies, Jesus College MS. 20, and Hengwrt MS. 202. His death in a "great mortality" of 547 is noted in the Annales Cambriae. Tradition holds that he died of the 'Yellow Plague' of Rhos, but this is based on one of the Triads that was written much later. The record says only that it was a "great mortality", which followed the outbreak of the great Plague of Justinian in Constantinople by a few years.  Maelgwn was a generous contributor to the cause of Christianity throughout Wales. He made donations to support Saint Brynach in Dyfed, Saint Cadoc in Gwynllwg, Saint Cybi in Anglesey, Saint Padarn in Ceredigion, and Saint Tydecho in Powys. He is also associated with the foundation of Bangor, but hard evidence of this is lacking. In his 1723 Mona Antiqua Restaurata, Henry Rowlands asserts that Bangor was raised to an episcopal see by Maelgwn in 550, but he provides no source for the assertion.  The only contemporary information about the person is provided by Gildas, who includes Maelgwn among the five British kings who he condemns in allegorical terms in his De Excidio et Conquestu Britanniae. He says Maelgwn held a regional pre-eminence among the other 4 kings, going on to say that he overthrew his paternal uncle (Latin: avunculus) to gain the throne; that he had taken up life as a monk but then returned to the secular world; that he had been married and divorced, then remarried to the widow of his nephew after being responsible for his nephew's death; and that he was tall.
Question: What was at Deganwy?
Answer: By tradition, his llys

Background: Aaron Benjamin Sorkin (born June 9, 1961) is an American screenwriter, director, producer, and playwright. His works include the Broadway plays A Few Good Men and The Farnsworth Invention; the television series Sports Night, The West Wing, Studio 60 on the Sunset Strip, and The Newsroom; and the films A Few Good Men, The American President, Charlie Wilson's War, Moneyball, and Steve Jobs. For writing The Social Network, he won the Oscar for Best Adapted Screenplay, among other awards. He made his feature directorial debut in 2017 with Molly's Game, which he also wrote.
Context: Sorkin got the inspiration to write his next play, a courtroom drama called A Few Good Men, from a phone conversation with his sister Deborah (who had graduated from Boston University Law School and signed up for a three-year stint with the U.S. Navy Judge Advocate General's Corps). Deborah told Sorkin that she was going to Guantanamo Bay to defend a group of Marines who came close to killing a fellow Marine in a hazing ordered by a superior officer. Sorkin took that information and wrote much of his story on cocktail napkins while bartending at the Palace Theatre. He and his roommates had purchased a Macintosh 512K so when he returned home he would empty his pockets of the cocktail napkins and type them into the computer, forming a basis from which he wrote many drafts for A Few Good Men.  In 1988, Sorkin sold the film rights for A Few Good Men to producer David Brown before it premiered, in a deal that was reportedly "well into six figures". Brown had read an article in The New York Times about Sorkin's one-act play Hidden in This Picture and found out Sorkin also had a play called A Few Good Men that was having Off Broadway readings. Brown produced A Few Good Men on Broadway at the Music Box Theatre. It starred Tom Hulce and was directed by Don Scardino. After opening in late 1989, it ran for 497 performances.  Sorkin continued writing Making Movies and in 1990 it debuted Off-Broadway at the Promenade Theatre, produced by John A. McQuiggan, and again directed by Don Scardino. Meanwhile, David Brown was producing a few projects at TriStar Pictures and tried to interest them in making A Few Good Men into a film but his proposal was declined due to the lack of star actor involvement. Brown later got a call from Alan Horn at Castle Rock Entertainment who was anxious to make the film. Rob Reiner, a Castle Rock producing partner, opted to direct it.
Question: How did the process of writing A Few Good Men go for Sorkin ?
Answer:
Sorkin took that information and wrote much of his story on cocktail napkins while bartending at the Palace Theatre.