In the above link you can see the squawk code change to 7700 (emergency) at 12:40 UTC about 100 miles east of Aberdeen.
As the aircraft reaches the Scottish mainland it begins to divert to the south.
Eventually lands at Prestwick (EGPK/PIK) at 13:25 UTC (1425 BST).
Aircraft still held by police at PIK. BBC link http://www.bbc.co.uk/news/uk-22920907
Comment