Alfred Newman wrote the fanfare in 1933. He was still under contract at United Artists when he got the commission from Darryl F. Zanuck, who needed a logo for his newly formed 20th Century Pictures.
20th Century merged with Fox in 1935, and the fanfare was rerecorded.