happily (adv.) Look up happily at Dictionary.com
mid-14c., "by chance or accident," from happy + -ly (2). Meaning "fortunate, lucky" is late 14c.; that of "appropriately" is from 1570s. Happily ever after recorded by 1853.