Plans for nearly 250 flats overlooking Aberdeen's historic Rubislaw Quarry are to be granted, following an appeal.
Millions of tonnes of granite were excavated at the quarry, which closed in 1971 and is credited with earning Aberdeen its Granite City name.
Carterra's plans were rejected in June by Aberdeen's planning committee.
However, a Scottish government reporter has now ruled that permission will be granted if conditions are agreed between the parties involved.
The plans are for 245 rented flats, as well as a public bistro and public promenade with viewpoints to the quarry.
A spokesman for Carterra said: "We're obviously relieved to have received the positive news, which corroborates the recommendations of ACC Planning, while imposing an extensive list of conditions on approval - all of which we are prepared to meet in due course."
However quarry owner Hugh Black - whose own plans have included a heritage centre - expressed "astonishment and disbelief", and said the decision undermined planning decisions at a local level.