Unrighteously has 2 different meanings across 1 category:
Adverb
in an unrighteous manner
"he acted unrighteously"
In an unrighteous manner.