Jennifer Lopez is returning to episodic TV.

The American Idol judge will star in the cop drama Shades of Blue, which is set to premiere next year. NBC has already picked up 13 episodes of the show, which Jen will executive produce along with Ryan Seacrest and her manager Benny Medina.

Her last regular TV acting gig was in the 1994 series Second Chances.