Rock duo Tenacious D, comprised of actor/comedian Jack Black and Kyle Gass, has replaced Beastie Boys at the second Outside Lands Music & Arts festival to be held August 28-30 at Golden State Park in San Francisco, CA. The musicians were called in to fill a whole in the lineup caused by the last-minute withdraw of headline act Beastie Boys.

The duo will be headlining the final night with Ween, Modest Mouse, MIA, Band of Horses and others appearing on August 30. The event marks their first performance in the Bay Area in three years and their first festival concert in the United States.

Pearl Jam, Dave Matthews Band, The Mars Volta, Black Eyed Peas and Incubus are among the 94 performers playing on the five outdoor stages and two indoor venues over the three day weekend.

Beastie Boys cancelled their summer tour due to Adam “MCA” Yauch’s cancer surgery, and festival promoters scurried to find suitable replacements. Jay-Z took over the band’s headlining spot at All Points West in Jersey City, NJ, while Yeah Yeah Yeahs filled the vacancy at Lollapalooza in Chicago, IL. Interestingly, Yeah Yeah Yeahs were also on the bill at All Points West and performed just before Jay-Z.

Tenacious D was like a wild card for Outside Lands since it has been fairly inactive since a 2007 tour that promoted a 2006 album; in 2008 a DVD of the tour came out.