paragraph_text: "Fagel Attraction" is the twenty-third episode of the fourth season of the American television series "Will & Grace". It was written by Jenji Kohan and directed by series producer James Burrows. The episode originally aired on the National Broadcasting Company (NBC) in the United States on April 25, 2002. Michael Douglas, Molly Shannon, and Barry Livingston guest starred in "Fagel Attraction".

paragraph_text: The season set a record when 132 million votes were gathered for the finale. On May 23, 2012, Phillip Phillips became the winner of the eleventh season of American Idol, beating Jessica Sanchez, the first female recipient of the judges' save.

paragraph_text: The sixteenth season of American Idol premiered on March 11, 2018, on the ABC television network. It is the show's first season to air on ABC. Ryan Seacrest continued his role as the show's host, while Katy Perry, Luke Bryan, and Lionel Richie joined as judges. Maddie Poppe from Clarksville, Iowa won the season on May 21, 2018, while her boyfriend Caleb Lee Hutchinson was runner - up. Poppe was the first female winner since Candice Glover in season twelve.

paragraph_text: "By the Grace of God" is a song by American singer Katy Perry from her fourth studio album, "Prism" (2013), included as the standard edition's closing track. The song was written and produced by Perry and Canadian record producer Greg Wells. It was conceived following Perry's divorce from English actor and comedian Russell Brand. This initially made Perry consider making a "darker" album, but instead was channeled into the song. Throughout its autobiographical lyrics, Perry is depicted finding her strength and standing up for herself.

paragraph_text: The eighth season of American Idol premiered on January 13, 2009, and concluded on May 20, 2009. Judges Simon Cowell, Paula Abdul, and Randy Jackson continued to judge the show's contestants, along with Ryan Seacrest as host. The season introduced Kara DioGuardi as the fourth judge on the Idol panel. It was also Abdul's final season as a judge. Kris Allen, a native of Conway, Arkansas, was announced the winner of the competition on May 20, 2009, defeating runner - up Adam Lambert after nearly 100 million votes. Kris Allen is the only married winner of the competition at the time of his victory. This was the second season where both of the final two contestants had been in the bottom three or two at least once before the finale, with the first being season three.

paragraph_text: Pia Toscano (born October 14, 1988) is an American singer. Toscano placed ninth on the tenth season of "American Idol". She was considered a frontrunner in the competition, and her elimination shocked judges Randy Jackson, Jennifer Lopez, and Steven Tyler, all of whom were visibly and vocally upset. Some viewers and media outlets described Toscano's departure as one of the most shocking eliminations in "American Idol" history.

paragraph_text: "Back Up, Dancer" is the second episode of the seventh season of the American television series "Will & Grace". It was written by Tracy Poust and Jon Kinnally and directed by series producer James Burrows. The episode originally aired on the National Broadcasting Company (NBC) in the United States on September 23, 2004. Guest stars in "Back Up, Dancer" include Will Arnett, Bobby Cannavale, and Janet Jackson.

paragraph_text: Paula Lima (born October 10, 1970 in São Paulo) is a Brazilian singer and composer whose music is influenced by bossa, percussion, samba, Brazilian soul international funk and one of judges of Brazilian Idol, Ídolos Brazil (Season 3 and Season 4).

paragraph_text: There is a 19th - century tradition tracing to Bradford the idiomatic ``There but for the grace of God go I ''as an expression of humility and reliance on God's grace rather than his own morality. The editor of The Writings of John Bradford, Aubrey Townsend, notes this in his preface:

paragraph_text: Beginning in the tenth season[citation needed], permanent mentors were brought in during the live shows to help guide the contestants with their song choice and performance. Jimmy Iovine was the mentor in the tenth through twelfth seasons, former judge Randy Jackson was the mentor for the thirteenth season and Scott Borchetta was the mentor for the fourteenth and fifteenth season. The mentors regularly bring in guest mentors to aid them, including Akon, Alicia Keys, Lady Gaga, and current judge Harry Connick, Jr..

paragraph_text: American Idol is broadcast to over 100 nations outside of the United States. In most nations these are not live broadcasts and may be tape delayed by several days or weeks. In Canada, the first thirteen seasons of American Idol were aired live by CTV and/or CTV Two, in simulcast with Fox. CTV dropped Idol after its thirteenth season and in August 2014, Yes TV announced that it had picked up Canadian rights to American Idol beginning in its 2015 season.

paragraph_text: The eighth season of American Idol premiered on January 13, 2009, and concluded on May 20, 2009. Judges Simon Cowell, Paula Abdul, and Randy Jackson continued to judge the show's contestants, along with Ryan Seacrest as host. The season introduced Kara DioGuardi as the fourth judge on the Idol panel. It was also Abdul's final season as a judge. Kris Allen, a native of Conway, Arkansas, was announced the winner of the competition on May 20, 2009, defeating runner - up Adam Lambert after nearly 100 million votes. This was the second season where both of the final two contestants had been in the bottom three or two at least once before the finale, with the first being season three.

paragraph_text: Dunkin 'Donuts replaced Snapple as sponsor of the show after three seasons. Four guest judges were invited to judge during the judge's cuts round: actor Neil Patrick Harris, singer Michael Bublé, actor Marlon Wayans and former judge Piers Morgan. This was the first season to have an all - male finale and the first where at least four magicians competed in the finals. Ventriloquist Paul Zerdin was voted the winner for the season on September 16, 2015. Comedian Drew Lynch was the runner - up, and magician Oz Pearlman came in at third place. Piff the Magic Dragon was named the most memorable act this season, or the fan favorite.

paragraph_text: On February 14, 2009, The Walt Disney Company debuted "The American Idol Experience" at its Disney's Hollywood Studios theme park at the Walt Disney World Resort in Florida. In this live production, co-produced by 19 Entertainment, park guests chose from a list of songs and auditioned privately for Disney cast members. Those selected then performed on a stage in a 1000-seat theater replicating the Idol set. Three judges, whose mannerisms and style mimicked those of the real Idol judges, critiqued the performances. Audience members then voted for their favorite performer. There were several preliminary-round shows during the day that culminated in a "finals" show in the evening where one of the winners of the previous rounds that day was selected as the overall winner. The winner of the finals show received a "Dream Ticket" that granted them front-of-the-line privileges at any future American Idol audition. The attraction closed on August 30, 2014.

paragraph_text: Fox announced on May 11, 2015 that the fifteenth season would be the final season of American Idol; as such, the season is expected to have an additional focus on the program's alumni. Ryan Seacrest returns as host, with Harry Connick Jr., Keith Urban, and Jennifer Lopez all returning for their respective third, fourth, and fifth seasons as judges.

paragraph_text: Guest judges may occasionally be introduced. In season two, guest judges such as Lionel Richie and Robin Gibb were used, and in season three Donna Summer, Quentin Tarantino and some of the mentors also joined as judges to critique the performances in the final rounds. Guest judges were used in the audition rounds for seasons four, six, nine, and fourteen such as Gene Simmons and LL Cool J in season four, Jewel and Olivia Newton-John in season six, Shania Twain in season eight, Neil Patrick Harris, Avril Lavigne and Katy Perry in season nine, and season eight runner-up, Adam Lambert, in season fourteen.

paragraph_text: The divine right of kings, divine right, or God's mandate is a political and religious doctrine of royal and political legitimacy. It asserts that a monarch is subject to no earthly authority, deriving the right to rule directly from the will of God. The king is thus not subject to the will of his people, the aristocracy, or any other estate of the realm. It implies that only God can judge an unjust king and that any attempt to depose, dethrone or restrict his powers runs contrary to the will of God and may constitute a sacrilegious act. It is often expressed in the phrase ``by the Grace of God '', attached to the titles of a reigning monarch.

paragraph_text: The first season of American Idol premiered on June 11, 2002 (under the full title American Idol: The Search for a Superstar) and continued until September 4, 2002. It was won by Kelly Clarkson. That first season was co-hosted by Ryan Seacrest and Brian Dunkleman, the latter of whom left the show after the season ended.

paragraph_text: Aubrey Cleland is an American model and singer who came in 11th place on the twelfth season of "American Idol".

paragraph_text: The fifth season of reality television singing competition American Idol began on January 17, 2006, and concluded on May 24, 2006. Randy Jackson, Paula Abdul and Simon Cowell returned to judge, and Ryan Seacrest returned to host. It is the most successful season to date ratings-wise, and resulted in 18 contestants (including all of the top 10 and a few semifinalists) getting record deals -- nine of them with major labels. It was the first season with a male winner (Taylor Hicks) and a female runner - up (Katharine McPhee). It was also the first season of the series to be aired in high definition.

Question: Which season of American Idol featured By the Grace of God's composer as a guest judge?
Answer: season nine