A masterpiece of Scottish art, In the Orchard by Sir Hames Guthrie, bought in a partnership between the nation's national galleries and Glasgow's city council, is been put on show in Edinburgh for the first time since being bought for the nation.

The work by the prominent Glasgow Boy is the first painting to be jointly owned by both the National Galleries of Scotland (NGS) and Glasgow's museums, and was bought in an auction last year for £636,500 with aid from the National Heritage Memorial Fund (NHMF) and the Art Fund.

Featuring two children in a rural idyll, it was painted in 1885/6 and gained international fame soon after its unveiling.

Both the NBGS and Glasgow City Council provided £75,460.89 towards the cost of the painting, which will be on show at the Scottish National Gallery until the end of the year, before being shown at Kelvingrove Art Gallery and Museum. It will be shared equally and exhibited at the two institutions alternately.

Councillor Archie Graham, the chair of Glasgow Life, which runs the city's museums and galleries, said: "This work was one of the star attractions at our record-breaking Glasgow Boys exhibition and we're delighted that it has been secured for city and nation."