WEST HOLLYWOOD, CA - FEBRUARY 20: Jennifer Lopez arrives at Fox's "American Idol XIII" finalists party held at Fig & Olive Me
Michael Tran/FilmMagic

Even though she's back on American Idol and just dropped a new video from her upcoming eighth album, Jennifer Lopez is adding another item to her plate: Her first starring role on a scripted TV series in 21 years.

Jenny from the Block is set to play the lead role on a new NBC show called Shades of Blue. As Harlee McCord, Lopez is a dirty cop and single mother trying to turn her life around. Unfortunately for McCord, working for the FBI's anti-corruption unit means working against her corrupt-cop brethren, which is sure to provide for lots of tension, drama and "I'm doing it for my daughter!" speeches.

Without even seeing the pilot, NBC ordered 13 episodes of the drama from Ryan Seacrest Productions. "The script is so powerful and ambitious, we can't wait to see Jennifer take on this remarkable role," Seacrest said. Shades of Blue's script comes from Adi Hasak, the same guy who wrote the screenplay for 3 Days to Kill, the new Kevin Costner action movie.

Although she's hardly been absent from TV or acting, this will actually be J.Lo's first starring role on a TV series since the 1994 drama Hotel Malibu, which lasted six episodes. That, of course, was well before J.Lo took over the world.