Mercifully has 2 different meanings across 1 category:
Adverb
in a compassionate manner
"he dealt with the thief mercifully"
In a merciful manner.