Original: The origin of the lyrics is a poem by diplomat Cecil Spring-Rice which he wrote in 1908 whilst posted to the British Embassy in Stockholm.
Simplified: British in the Modern History Sourcebook, by Paul Halsall, 1998