Survivors who were abused as children in care homes will receive financial compensation, the Scottish Government has said.

Deputy first minister John Swinney said legislation to enable payments to be made would be passed in the current parliamentary term.

The move comes as an inquiry into historical abuse in care homes continues to hear evidence from hundreds of victims.

After the allegations began to emerge, a review group representing survivors urged politicians to provide some financial redress to those who were abused.

Mr Swinney told MSPs on Tuesday: "I recognise that, for many survivors, their campaign for justice began a long time ago - and this has added to their suffering.

"I'm keenly aware that some who began that process are sadly no longer with us, and we remember them today in this statement."

He continued: "In addressing the recommendations, we wholeheartedly accept the need to acknowledge and provide tangible recognition of the terrible harm that was done to children in care by those who were entrusted to look after them.

"The main recommendation is to establish a financial redress scheme, and to pass legislation before the end of this parliamentary term. The Scottish Government accepts this recommendation and commits to do so, subject to parliamentary approval."

Mr Swinney said advance payments would be made to elderly survivors and those in poor health as a matter of urgency.

In a direct message to survivors, he said: "Today, on behalf of the Scottish government, I offer an unreserved and heartfelt apology to everyone who suffered abuse in care in Scotland.

"We are deeply ashamed of what happened."