Thursday night's episode of American Idol sure was a shocker. Before Pia Toscano's shocking elimination, a shirtless Iggy Pop took the stage to perform Real Wild Child (Wild One).

The theme for this week's performances by the contestants was Rock and Roll Hall of Fame, so Iggy Pop's performance was quite fitting.

The 64-year-old legendary musician rocked the stage. American Idol contestants Haley Reinhart and James Durbin tried dancing along with Iggy Pop when he came over and sang in between their seats, but it was apparently difficult for them to keep up with his energetic dance moves.

Iggy Pop even moved toward the judges table to dance around Randy Jackson, Jennifer Lopez and Steven Tyler.

Jennifer Lopez looked a little scared when Iggy Pop moved close to her and sang directly to her.

Scroll down to watch Iggy Pop perform on the American Idol stage.