But the Electoral Commission says a wider probe into Liberal Democrat general election spending is ongoing.Read more
Victory for the SNP with 63 seats - two short of a majority
Conservatives are the second largest party on 31 seats - but Labour on 24 lost 13 seats
Scottish Greens are the fourth largest party with six seats, ahead of the Lib Dems who won five
See the changing political map of Scotland
|Party||Candidates||Votes||%||Net percentage change in seats|
Scottish Lib Dems
|Candidates Alex Cole-Hamilton||Votes 16,645||41.9%||Net percentage change in seats +14.1|
Scottish National Party
|Candidates Toni Giugliano||Votes 13,685||34.4%||Net percentage change in seats −1.4|
|Candidates Sandy Batho||Votes 5,686||14.3%||Net percentage change in seats −0.8|
|Candidates Cat Headley||Votes 3,750||9.4%||Net percentage change in seats −12.0|
Change compared with 2011
Counters clear the hall at Ingliston after all Edinburgh results are declared.
The Lib Dems have managed also to win this seat, another of the seats that they lost last year and had previously been something of a party stronghold.
Given the result in Fife North East and in the Northern Isles it appears that the Lib Dems in Scotland have regained some of their ability to develop local strongholds north of the border.
A big win for Alex Cole-Hamilton of the Liberal Democrats
Scottish Labour's commander-in-chief, Kezia Dugdale, arrives in Ingliston
This seat contains the old villages of Cramond, Dalmeny and Corstorphine, the seat of the Earls of Rosebery, and Queensferry on the coast.
Notable landmarks in Edinburgh Western include the southern ends of the Forth road and rail bridges, Edinburgh Airport and the Gyle Shopping Centre. The airport's eastern terminal expansion, opened in 2014, netted a "Carbuncle Award", a satirical prize criticising architectural design. Both the M8 and M9 roads also run through the constituency.
The Liberal Democrats won the seat from Conservative Lord James Douglas-Hamilton at the 1997 general election, and Lib Dem Margaret Smith defeated Lord James in the 1999 Holyrood elections. She retained the seat in the 2003 and 2007 Scottish Parliament elections, but lost to Colin Keir for the SNP in 2011. Mr Keir was defeated in his bid to be re-selected to contest the seat for the SNP in 2016.