Arby's won the eBay auction for Pharrell Williams's famous hat after the company paid $44,100.

The auction closed on Sunday before the Oscars started.

Proceeds will go to Pharrell's charity From One Hand to AnOTHER.

Pharrell tweeted out a thanks to the anonymous bidder and Arby's replied by writing: "@Pharrell You're welcome. We're HAPPY to support a great cause & get our hat back!"