Akon added some raunchy humor to primetime when he joined The Lonely Island at the 63rd Annual Emmy Awards. The comedy trio performed a medley of their hilarious hits, opening with “Jack Sparrow,” accompanied by Michael Bolton dressed as a pirate. John Stamos, Ed Helms, and Maya Rudolph partook in “3-Way,” fulfilling the roles of Andy Samberg, Justin Timberlake, and Lady Gaga. And Akon kept the laughs coming by singing “I Just Had Sex” during the all-star finale. Watch the hijinks unfold below.