sentences:  Because of its architectural similarity, the Scottish National Gallery is frequently confused by visitors with the neighbouring Royal Scottish Academy Building (RSA), a separate institution which works closely with the Scottish National Gallery.The origins of Scotland's national collection lie with the Royal Institution for the Encouragement of the Fine Arts in Scotland, founded in 1819.It began to acquire paintings, and in 1828 the Royal Institution building opened on The Mound.