After starring in Gigli (2003), a critical and commercial failure, Lopez subsequently starred in the successful romantic comedies Shall We Dance? (2004) and Monster-in-Law (2005). Her fifth studio album, Como Ama una Mujer (2007), received the highest first-week sales for a debut Spanish album in the United States. Following an unsuccessful period, she returned to prominence in 2011 with her appearance as a judge on American Idol, and released her seventh studio album Love?. In 2016, she began starring in the crime drama series Shades of Blue and commenced a residency show, Jennifer Lopez: All I Have, at Planet Hollywood Las Vegas. Since 2017, Lopez has produced and served as a judge on World of Dance. In 2018, she starred in the film Second Act.