The “Harry Potter” alum will play a filmmaker by the name of Arthur Tobin.

Slaven Vlasic/Getty

Tracy Morgan’s untitled NBC comedy pilot has bagged none other thanDaniel Radcliffe.

Eric Liebowitz/NBCU Photo Bank/NBCUniversal via Getty

Radcliffe’s last recurring TV role was on the anthology comedyMiracle Workers.

Daniel Radcliffe

Daniel Radcliffe.Credit:Slaven Vlasic/Getty

As for Morgan, his last recurring TV role was on sitcomThe Last O.G.

He’s also set to star on the Paramount+ comedy seriesCrutch, premiering later this year.

“Being on that show kept me busy,” he recalled.

Tracy Morgan and Tina Fey on ‘30 Rock

Tracy Morgan and Tina Fey on ‘30 Rock.Eric Liebowitz/NBCU Photo Bank/NBCUniversal via Getty

“I was sober then.

I was able to do Tracy Jordan without having to have a drink.

Tina Fey saw me partying at the after-parties ofSaturday Night Live, so she [drew from] that.

I didn’t have to be in the picture I could paint the picture.

I got crazy without actually having to drink.

And that saved me.”