Scottish budget breakdown
Scotland's SNP government has announced its first budget since the party's landslide election win, in May.
Finance Secretary John Swinney has said his spending plans for the next three years are being hit by cuts of more than £3bn, as the UK government seeks to cut the deficit.
Here, is a look at which Scottish government departments get to spend what in the next few years under the budget - worth about £30bn every year - and some of the winners and losers.
Health, Wellbeing and Cities Strategy
Finance, Employment and Sustainable Growth
Education and Lifelong Learning
Rural Affairs and Environment
Culture and External Affairs
Infrastructure and Capital Investment
Parliamentary Business and Government Strategy
Crown Office and Procurator Fiscal Service
Scottish Parliament and Audit Scotland
Who are the winners and losers?
£750m moved from from day-to-day spending to capital investment to help fund £2.5bn of projects to boost the economy
NHS budget is protected, but nursing costs will fall from £148.5m this year to £147.9M in 2014-15
Levy on big retailers, which sell tobacco and alcohol, will be used to pay for "preventative" policies.
Local government in Scotland gets the same money next year that they have had to spend this year.
The housing budget is to fall from £268m to £155m in the next year, although there will be separate funding for 5,000 council homes.
University spending is going up over three years by about £140m, while college spending will drop by £70m.
The public sector pay freeze for those earning over £21,000 is extended by another year, although ministers hope 2012-13 will be the last year it is implemented.
Funding for the A82 upgrade, a new Grampian prison and the new V&A museum in Dundee is confirmed.
The road improvements budget is to fall from £24m to £14m over the next three years.
The culture budget is to fall from £154.6m this year to £132.6m in 2014-15, with free access to national collections deemed a priority.
Scottish Natural Heritage's budget is falling from £60.7m to £53m over three years.
Legal aid spending is to fall from £154m this year to £142.8m in 2014-15.
Spending on criminal injuries compensation is to fall in real terms from £25m this year to £16.2m in 2014-15.
Funding for employability and tackling poverty is to fall by £200,000 over three years.
The employability skills and lifelong learning budget is to fall from £244m in 2011-12 to £226m in 2014-15
The costs of the controversial medical distinction awards for doctors is falling from £26m to £24m per year.
There will be £3m to tackle sectarianism in the next financial year.