"God Save the Queen" (alternatively "God Save the King", depending on the gender of the reigning monarch) is the national or royal anthem in a number of Commonwealth realms, their territories, and the British Crown Dependencies. The author of the tune is unknown and it may originate in plainchant, but an attribution to John Bull is sometimes made. It is the national anthem of the United Kingdom and one of two national anthems used by New Zealand since 1977, as well as for several of the UK's territories that have their own additional local anthem. It is also the royal anthem - played specifically in the presence of the monarch - of all the aforementioned countries, as well as Australia (since 1984), Canada (since 1980), Barbados and Tuvalu.
Use in the United Kingdom
"God Save the Queen" is the national anthem of the United Kingdom of Great Britain and Northern Ireland. Like many aspects of British constitutional life, its official status derives from custom and use, not from Royal Proclamation or Act of Parliament. In general only one or two verses are sung, but on rare occasions three. The variation in the UK of the lyrics to "God Save the Queen" is the oldest amongst those currently used, and forms the basis on which all other versions used throughout the Commonwealth are formed; though, again, the words have varied throughout these years.  England has no official national anthem of its own; "God Save the Queen" is treated as the English national anthem when England is represented at sporting events (though there are some exceptions to this rule, such as cricket where Jerusalem is used). There is a movement to establish an English national anthem, with Blake and Parry's "Jerusalem" and Elgar's "Land of Hope and Glory" among the top contenders. Scotland has its own national song and Wales has its own national anthem for political and national events and for use at international football, rugby union and other sports in which those nations compete independently. On all occasions Wales' national anthem is "Hen Wlad Fy Nhadau" (Land of my Fathers). Scotland has no single anthem; "Scotland the Brave" was traditionally used until the 1990s, when "Flower of Scotland" was adopted. In Northern Ireland, "God Save the Queen" is still used as the official anthem.  The phrase "No surrender" is occasionally sung in the bridge before "Send her victorious" by England football fans at matches. The phrase "no surrender" is also associated with Combat 18, a white supremacist group. The phrase is also associated with Ulster loyalism and can sometimes be heard at the same point before Northern Ireland football matches.  Since 2003, "God Save the Queen", considered an all inclusive Anthem for Great Britain and Northern Ireland, as well as other countries within the Commonwealth, has been dropped from the Commonwealth Games. Northern Irish athletes receive their gold medals to the tune of the "Londonderry Air", popularly known as "Danny Boy". In 2006, English winners heard Elgar's Pomp and Circumstance March No. 1, usually known as "Land of Hope and Glory", but after a poll conducted by the Commonwealth Games Council for England prior to the 2010 Games, "Jerusalem" was adopted as England's new Commonwealth Games anthem. In sports in which the UK competes as one nation, most notably as Great Britain at the Olympics, "God Save the Queen" is used to represent anyone or any team that comes from the United Kingdom.

Q: When was 'God Save the Queen first used in the UK?
A: unknown

Q: On what occasions is this used in the UK?
A: God Save the Queen" is the national anthem of the United Kingdom of Great Britain and Northern Ireland.

Q: WHich events is this anthem played inthe UK?
A: when England is represented at sporting events (though there are some exceptions to this rule,
WHat are some of the exceptions?
such as cricket where Jerusalem is used).
such as cricket where Jerusalem is used).