Amazon is headed to Middle-earth after booking a multi-season commitment to a “Lord of the Rings” series.

The series will serve as a prequel to “The Fellowship of the Ring,” but there’s also a possibility for spinoffs.

“‘The Lord of the Rings’ is a cultural phenomenon that has captured the imagination of generations of fans through literature and the big screen,” Sharon Tal Yguado, head of scripted series at Amazon Studios, said in a statement.

Amazon has signed on for a multi-season deal for a “Lord of the Rings” series.

(AP Photo/Pierre Vinet, New Line Cinema)

“We are honored to be working with the Tolkien Estate and Trust, HarperCollins and New Line on this exciting collaboration for television and are thrilled to be taking The Lord of the Rings fans on a new epic journey in Middle Earth.”

Amazon may have forked over as much as $250 million for the rights, according to Deadline.

The series will be a prequel to “Fellowship of the Ring.”

(Handout)

“We are delighted that Amazon, with its longstanding commitment to literature, is the home of the first-ever multi-season television series for ‘The Lord of the Rings,’” Matt Galsor, a representative for the Tolkien Estate and Trust and HarperCollins, said in a statement.