Britney Spears joining Fox's 'X Factor'

Associated Press
FILE - In this undated file photo provided by Fox, Darren Criss, left, and Chris Colfer are shown in a scene from "Glee." Fox announced Monday, May 14, 2012 that the network is moving "Glee" to Thursday nights in the Fall and turning its Tuesday schedule over entirely to comedies. (AP Photo/FOX, Adam Rose, File)

NEW YORK (AP) — Britney Spears and Demi Lovato are bringing their star power to Fox's "The X Factor."

The network officially announced Monday what had been a poorly kept secret, that Spears will join Simon Cowell's music competition for its second season.

Spears, wearing a white minidress, came onstage at Fox's New York upfront presentation with Cowell, Lovato and the remaining judge, L.A. Reid

Spears said she was "so excited about the whole experience" and that it will be different from anything she's ever done.