According to the Wikipedia:
"1985 fantasy adventure film directed and written by Walter Murch, an editor and sound designer, co-written by Gill Dennis and produced by Paul Maslansky. It stars Nicol Williamson as the Nome King, Jean Marsh as Princess Mombi, Piper Laurie as Aunt Em, Matt Clark as Uncle Henry and introduces Fairuza Balk as Dorothy Gale. It is based on L. Frank Baum's Oz novels, mainly The Marvelous Land of Oz (1904) and Ozma of Oz (1907), yet is set six months after the events of the first novel, The Wonderful Wizard of Oz (1900) took place. The film is an unofficial sequel to the 1939 Metro-Goldwyn-Mayer film, The Wizard of Oz and also borrows a few elements of it such as the ruby slippers.
The plot focuses on an insomniac Dorothy, who returns to the Land of Oz only to discover that the entire country and its inhabitants are facing near extinction at the hands of a villainous king who dwells in a neighboring mountain. Upon her second arrival, she, alongside her pet hen, Billina, befriend a group of new companions, including Tik-Tok, Jack Pumpkinhead and the flying Gump. Together they set out on a quest to save Oz and restore it to its former glory.
Murch was interested in making another Oz story, while The Walt Disney Company had a long failed history of producing a film adaptation of Baum's novels dating back to the 1930s. Disney bought the rights to his novels in the 1950s, but never used them. After Return to Oz, Disney lost the film rights to the Oz novels, and they were subsequently reverted to the public domain.
Released on June 21, 1985 by Walt Disney Pictures, the film performed poorly at the box office, grossing $11.1 million in the United States against a $28 million budget, and received mixed reviews from critics. However, it performed well outside the U.S and is considered by fans as a more faithful adaptation of the book series than the 1939 classic, and has since acquired a cult following.[2][3] The film received an Academy Award nomination for Best Visual Effects."