LOS ANGELES — Returning to the mystical land of “The Wizard of Oz” took more than 70 years and several hundred million dollars.

Disney released its highly anticipated prequel to the 1939 movie classic on Friday. Directed by Sam Raimi, “Oz the Great and Powerful” explores the origins of the wizard (James Franco) and the witches (Mila Kunis, Michelle Williams and Rachel Weisz) in a three-dimensional Oz.

The $200 million production, not counting another $100 million in estimated marketing costs, is a huge gamble for everyone involved, considering “The Wizard of Oz” is among the most enduring and beloved films of all time. Even Raimi, director of the first three “Spider-Man” movies, described the project as “daunting.”

The risk is compounded by a general box-office slump and a poor showing for last weekend’s $200 million big-screen take on another popular tale, “Jack the Giant Slayer,” based on “Jack and the Beanstalk.”

“The plus side is that there’s such incredible awareness of ‘The Wizard of Oz’ that it’s going to translate into a mammoth opening weekend for ‘Oz the Great and Powerful,’ ” said Dave Karger, chief correspondent for fandango.com. “The danger is that many people’s natural tendency will be to compare this to ‘The Wizard of Oz,’ and there’s no film that will ever live up to that.”

According to a survey done by the site, nearly all those buying tickets for the new “Oz” film have seen the original, and the film is far and away the most popular of the week, making up almost 80 percent of tickets sold.

Franco has loved the world created by L. Frank Baum since he first saw the 1939 movie on TV as a kid. It inspired him to read all of Baum’s books, which led him to other fantasy fare such as “Alice in Wonderland” and the works of J.R.R. Tolkien. But the notion of revisiting the Land of Oz with an A-list director wasn’t enough to lure Franco to the leading role.

“I already had a lot of faith in the movie because Sam was attached, but as an Oz fan, I wanted to be sure that the approach was sound,” the actor said. “They very smartly did not just do a boy version of Dorothy and have the same trip through Oz.”

For one, Franco notes the wizard is a con man and his trip through Oz is very different than Dorothy’s was. “He’ll be getting into awkward situations, basically kind of bouncing off of Oz in ways that Dorothy didn’t,” the actor said.

As the film opens in sepia-toned 1905 Kansas, Franco’s Oscar Diggs is a carnival magician who dreams of fame and fortune at any cost. When a twister whisks him to a fantastical land bearing his stage name — Oz — whose inhabitants believe him to be a wizard sent to save them, he can’t believe his luck.

But first, he faces three witches, none of whom are exactly as they seem. Oz befriends a few locals, including a flying monkey (Zach Braff) and a china doll (Joey King), and eventually makes the plight of the people of Oz his own.

Some critics have questioned the casting of Franco as the wizard. The AP’s Christy Lemire wrote that he’s “too boyish for the role”

Yet Raimi believes Franco was the perfect actor to portray the wizard: “He was born to play the part.”

Franco and Raimi are personal friends, and the director said he’s seen the actor’s growth as a performer and an individual since they first worked together on 2002’s “Spider-Man.”

“I knew James was a moody dreamer, and that’s who Oz is,” Raimi said. “He dreams of being this great man, even if he doesn’t know what greatness is.”

One of the country’s most prestigious singing competitions for serious young vocalists is setting up shop at the University of Colorado in Boulder for the first time this year – and the public is invited to check it out.