Rapper E-40 has landed a guest-starring role on ABC’s “The Mayor.”

E-40 is set to appear as himself in Season 1, episode 8, titled “Monuments Man.” According to the synopsis for the installment, Courtney (Brandon Micheal Hall) and his crew discover that Tito’s Ballroom, the historic music venue in Fort Grey, is closing down for good due to increased rent costs. In an attempt to save the club, Courtney sponsors a music festival and enlists Bay Area rap legend E-40 to headline the event. However, Ed Gunt (David Spade) opposes keeping Tito’s open which leads Courtney to an unexpected way of winning him over.

E-40, née Earl Stevens, has released more than 20 studio albums to date. E-40 started as an underground artist, who gained a wider audience after the 1995 release of his solo album “In a Major Way.” He began working with more mainstream rappers outside the Bay Area in 1998, and became even more popular in 2006 after the release of his single “Tell Me When to Go,” which was produced by Grammy winner Lil Jon. E-40 is also a founding member of the rap group The Click, and the founder of hip hop record label, Sick Wid It Records.

“The Mayor” marks E-40’s first TV acting role after his guest-appearance on the WB’s “The Jamie Foxx Show” in 2001. On the film side, the rapper appeared in a number of movies, including “Dead Heist,” “Survival of the Illest,” “Hair Show,” and “Obstacles.”

Elsewhere in the upcoming episode of “The Mayor,” Dina (Yvette Nicole Brown) agrees to become choir director and soon realizes that her teaching style might be preventing her group from singing in perfect harmony. While it’s unclear whether Dina makes some adjustment to her teaching style, promo photos for the episode reveal that Dina and her fellow choir members get to sing at the music festival Courtney sponsors.

Are you excited for E-40’s appearance on “The Mayor”? Let us know your thoughts in the comments section below!

“The Mayor,” Season 1, episode 8, titled “Monuments Man,” will air on Tuesday, Dec. 5 at 9:30 p.m. EST.