Pharrell Williams joins 'The Voice' USA

Pharrell Williams is replacing CeeLo Green as a juge on 'The Voice' USA and plans to have "fun" on the show.

Pharrell Williams plans to have "fun" being a judge on 'The Voice' USA.

The 'Happy' hitmaker shared his excitement on Twitter after NBC confirmed that he is replacing CeeLo Green on the show's seventh season later this year.

The 40-year-old producer and singer retweeted a message from the show and wrote: "This is going to be so fun '@NBCTheVoice: Okay, we can OFFICIALLY say it! WE ARE SO #HAPPY to announce PHARRELL WILLIAMS = #NewVoiceCoach' "

Pharrell previously appeared on season four as a guest mentor alongside his good pal Usher, who is working on the current season and up until now has had a rotating spot with CeeLo as a full-time coach.

Country star Blake Shelton and Maroon 5 frontman Adam Levine are also on the judging panel, while Christina Aguilera and Shakira take turns every season.

'Forget You' singer CeeLo, 39, announced last month that he wouldn't be returning to the show again, as he is developing his own TV show.

He said: "I'm not coming back guys. I'm going to continue my relationship with NBC. I have a television show development deal with them as well and hopefully some other talk show opportunities for later in the year.