A £200m film and TV studio is to be built on the outskirts of Edinburgh.

Pentland Studios could help kick-start Scotland's film industry and create more than 900 jobs, according to developer PSL Land.

Planning permission was agreed in principle on Monday after ministers overturned a decision against the studio, which will be built on green-belt land at Straiton.

PSL said it was "very pleased" with the decision and hoped the studios would be open by late 2018.

A spokesman said: "We will be moving forward immediately with the application for planning permission in detail for the film studio, academy and energy centre sections of the development.

"Working together with Midlothian Council, we hope this next stage will be expedited accordingly, recovering the construction scheduling that will enable delivery of the key studio operation by late 2018.

"It is anticipated that a detailed schedule to progress the planning application will be agreed with Midlothian Council in the next few weeks, producing a phased timeframe with the studio, academy and energy centre as the first buildings to be progressed to full planning consent."

The decision to back Pentland Studios overturns an earlier recommendation from a Scottish Government reporter that permission be refused.

The proposal was called in by the government after Midlothian Council failed to make a ruling on the application, which was originally submitted in 2014.

A Scottish Government spokesman said: "The intention to grant planning permission in principle for the Pentlands development, subject to conditions and a planning obligation, has been made after careful consideration of the planning report and issues raised in objections.

"We welcome the potential for significant socio-economic benefits on a local and national scale through job creation and economic development."

Film Edinburgh believes the recent production of Avengers: Infinity War in the city could generate £10m for the local economy.

The shoot has been described as one of the largest and most complex in Edinburgh's history, with more than 400 people involved.