Dylan Sprouse Joins the Cast of Mindy Kaling's Upcoming Comedy The Sex Lives of College Girls

  • Oops!
    Something went wrong.
    Please try again later.
  • Oops!
    Something went wrong.
    Please try again later.

Dia Dipasupil/WireImage Dylan Sprouse

Dylan Sprouse is returning to television.

The 28-year-old actor — who rose to fame starring in The Suite Life of Zack & Cody alongside twin brother Cole — has landed his first TV role in almost a decade, joining the cast of Mindy Kaling's upcoming comedy series The Sex Lives of College Girls.

According to Variety, which broke the news, Sprouse will play Nico, a junior at Essex College, the prestigious New England university where the series is set.

"Been a while since I've done a series...roughly 10 years. But it's because I was hoping for a good one, and this seems like a great one," Sprouse wrote on social media of the news. "Happy to be onboard alongside a great cast and crew. Thankful today."

RELATED: The Suite Life of Zack and Cody Turns 15! See Dylan Sprouse and Brenda Song's Sweet Tributes

In addition to all of the congratulatory responses from his friends and loved ones, including girlfriend Barbara Palvin, his brother couldn't help leaving his own teasing comment.

"What are they gonna do when they find out you're not funny," the Riverdale star quipped in an exchange captured by the Instagram account Comments by Celebs.

"Oh no," Kaling jokingly replied.

RELATED VIDEO: Barbara Palvin Wanted to Make Things Exclusive with Dylan Sprouse the 'First Minute We Met'

Barbara Palvin Wanted to Make Things Exclusive with Dylan Sprouse 'The First Minute We Met'

The Sports Illustrated Swimsuit model reveals she flew to China to meet her current boyfriend, Dylan Sprouse, for the first time

It was announced in October that Timothée Chalamet's older sister Pauline Chalamet had landed a leading role in the HBO Max series.

Pauline, 28, will star as Kimberly, who enters college as the valedictorian of her small Arizona high school, Deadline previously reported. Amrit Kaur, Renée Rapp and Alyah Chanelle Scott round out the cast.

"So excited about this one," Kaling, 41, tweeted alongside the announcement. "Can't wait to show off these talented young women in The Sex Lives of College Girls."

Never miss a story — sign up for PEOPLE's free daily newsletter to stay up-to-date on the best of what PEOPLE has to offer, from juicy celebrity news to compelling human interest stories.

Although the project marks Sprouse's return to television, the actor has appeared in a number of films.

His recent credits include After We Collided, the second movie in the After franchise, as well as Banana Split. He also owns and runs a Brooklyn meadery.