 The church continued to offer prayers for the Stuarts until 1788, while many refused to swear allegiance to the Hanoverians in 1714.However, even in 1690, a substantial minority accommodated to the new regime, increased significantly after the establishment of the Scottish Episcopal Church in 1712.Episcopalian ministers, such as Professor James Garden of Aberdeen, presented the 1707 Union as one in a series of disasters to befall Scotland, provoked by "the sins [...] of rebellion, injustice, oppression, schism and perjury".