A wind farm firm has said a 24-turbine south of Scotland scheme will provide "genuine benefit" for the community after it received planning approval.
Planning officers had advised rejection of the Sandy Knowe project near Kirkconnel due to its adverse impact.
However, councillors voted to allow Dunfermline-based Burcote Wind's plans to proceed with conditions.
The company had revised original 30-turbine plans and received more than 100 letters of support.
Fraser Campbell, operations director at Burcote Wind, welcomed the decision.
"We are now looking forward to working with the communities to realise the potential that Sandy Knowe has," he said.
A joint statement from Royal Burgh of Sanquhar Community Council and Kirkconnel and Kelloholm Community Council also welcomed the approval.
It said it would offer a "great opportunity" to improve local services, provide work-related training and "help breathe new life" into their communities.
A community benefit fund associated with the scheme will make a contribution of up to £240,000-a-year over its 25-year lifespan.