Personal insolvencies in Scotland rose by almost a fifth last year, official statistics suggest.

Provisional figures from the Accountant in Bankruptcy (AiB) show an increase of 18% on 2015/16, rising by 1,484 to 9,958 in 2016/17.

The number includes those who declared bankruptcy and people who entered protected trust deeds (PTDs).

PTDs - where the debtor passes their estate to a trustee to pay creditors - rose by 16% last year to 5,473.

Meanwhile, corporate insolvencies last year stood at 840, down by 63 on the previous year.

The AiB statistics cover the fourth quarter of 2016-17 and provide provisional estimates for 2016/17. Final figures for the year will be published in July.

Quarterly figures for January to March 2016/17 show personal insolvencies up from 2,263 in the same quarter of 2015/16 to 2,513. These include 1,112 bankruptcies, up 8.2%, and 1,401 PTDs, a 13% increase.

The number of Scottish-registered companies becoming insolvent or entering receivership decreased in the fourth quarter, with 155 companies becoming insolvent compared with 230 in the final three months of 2015/16.

The number of members' voluntary liquidations (solvent liquidations) fell from 358 to 119 over the same period.

Business minister Paul Wheelhouse said: "These figures are the second lowest since 2005/06, at which time award of bankruptcy was reserved to the courts.

"Since then, access to bankruptcy for those facing serious financial difficulty has been simplified greatly and in this context today's figures highlight the low levels of personal insolvency we have in Scotland.

"We recognise 2015-16 was an abnormally low one for personal insolvency and therefore it is important that work continues to protect the most financially vulnerable and prevent, where we can do so, people suffering the uncertainty and anxiety of financial distress."

The minister continued: "There is no question Scotland's businesses continue to face a challenging and uncertain future, and it is a great testament to how robust and resolute they are that numbers of companies being forced to shut their doors continues to drop."

Tim Cooper, chair of R3 in Scotland, the insolvency trade body, said personal insolvency had started to "creep up".

"Inflation is rising while real pay has not kept pace with increases in the price of essentials like food and fuel," he said.

"For many people whose finances were already precarious, this may have been enough to put them in a position where they have to consider entering a formal insolvency procedure."

Scottish Conservative economy spokesman Dean Lockhart said the SNP's economic policies were to blame for the rise.

"Some of the figures recorded are disappointing given the amount that the UK Government has done to help people avoid falling on hard times - helping to sustain record low interest and mortgage rates which is helping businesses and individuals in debt.

"An 18% year-on-year rise on insolvencies is evidence of the grave economic problems Scotland consistently encounters as a result of the SNP's anti-growth style of governing."