When did St Andrew live in Scotland?

The capital city of Scotland is Edinburgh.

Historically there have been many capitals of Scotland. Perth, Scone and St Andrews were the ancient capitals. Recently Edinburgh has been the financial and administrative centre in Scotland.

London is the capital city of the UK, which Scotland is apart of.
The capital of Scotland is Edinburgh.
Edinburgh