Turns out the boy who lived is also the boy who can rap. Daniel Radcliffe, the star of the "Harry Potter" films, delighted bar patrons with his karaoke rendition of Eminem's 2000 hit "The Real Slim Shady," Entertainment Weekly reported.

The 25-year-old actor braved the stage at Cameron's Irish Pub in Half Moon Bay, Calif., and treated fans to his hip-hop karaoke performance, according to Rolling Stone. Radcliffe's girlfriend, actress Erin Darke, joined him onstage and acted as his hype woman and backup dancer as he delivered Eminem's vulgar lines without tripping up on the lyrics.

He couldn't quite keep up with Marshall Mathers' flow, though, and fell behind for a couple of beats, but he'd pace himself until he could jump back in. He also shocked the crowd with every crude reference and curse word he said, eliciting cheers and an "oh my god" from the audience.

It's not the first time the British actor showed off his rapping skills. He explained his obsession with memorizing rap lyrics on the "The Tonight Show" last year. Radcliffe impressed host Jimmy Fallon with his recital of Blackalicious' 1999 single "Alphabet Aerobics," hitting every word perfectly as the beat sped up faster.

Check out Radcliffe's full karaoke performance of Eminem's "The Real Slim Shady" below.