The word happily is what part of speech in this sentence?

The two sisters played happily most of the afternoon.

o  verb
o  adjective
o  pronoun
o  adverb