I met a traveller from an antique landFor all that, I did not know the background. From Wikipedia.
Who said: "Two vast and trunkless legs of stone
Stand in the desert. Near them, on the sand,
Half sunk, a shattered visage lies, whose frown,
And wrinkled lip, and sneer of cold command,
Tell that its sculptor well those passions read
Which yet survive, stamped on these lifeless things,
The hand that mocked them and the heart that fed:
And on the pedestal these words appear:
'My name is Ozymandias, king of kings:
Look on my works, ye Mighty, and despair!'
Nothing beside remains. Round the decay
Of that colossal wreck, boundless and bare
The lone and level sands stretch far away."
The banker and political writer Horace Smith spent the Christmas season of 1817–1818 with Percy Bysshe Shelley and Mary Shelley. At this time members of Shelley's literary circle would sometimes challenge each other to write competing sonnets on a common subject—Shelley, John Keats and Leigh Hunt wrote competing sonnets on the Nile around the same time. Shelley and Smith chose a passage from the Greek Historian Diodorus Siculus, which described a massive Egyptian statue and quoted its inscription: "King of Kings Ozymandias am I. If any want to know how great I am and where I lie, let him outdo me in my work." In the poem Diodorus becomes "a traveller from an antique land".Go to the Wikipedia link for Horace Smith's version.