Lopez will play Harlee McCord, a single mother and detective recruited to work undercover for the FBI’s anti-corruption task force. Part of a close-knit unit known for its conviction record, Harlee has become compromised by her colleagues — all of whom also pitch in to help her raise her daughter — and finds herself faced with the moral dilemma of working against her cop brothers in order to redeem herself.

The series will be written by Adi Hasak (“3 Days to Kill,” “From Paris with Love”), who executive produces with Ryan Seacrest, Nina Wass, Elaine Goldsmith-Thomas and Benny Medina. Production is planned to begin in 2015 and the series will air in the 2015-16 season.

“Whether its producing, acting, singing or any of her other many entrepreneurial activities, Jennifer is an extraordinary talent and life force, and we’re delighted to be in business with her and Adi Hasak on this sophisticated show,” said NBC Entertainment President Jennifer Salke in a statement. “We’re especially excited that Jennifer is returning to her acting roots from such great movies as ‘Out of Sight’ and we know that she will create this complicated character in a vivid way that will breathe new life into the cop show genre. Ryan Seacrest is part of the NBCU family and doing his first scripted drama series with us makes perfect sense.”

EP Ryan Seacrest added: “Nina Wass loved the script from the moment she read it. When Elaine, Adi and Benny approached us about working on it, we jumped at the chance to collaborate with such amazing partners. The script is so powerful and ambitious, we can’t wait to see Jennifer take on this remarkable role. Bob Greenblatt and Jen Salke’s enthusiasm and support has been incredible, and we look forward to working with everyone at NBC.”