The endangered Borneo pygmy elephant lives contentedly in Malaysia.

Which word in the sentence is an example of an adverb?

endangered
elephant
lives
contentedly