adverb
Etymology: alteration of earlier rightwisely, from Middle English, from Old English rihtwīslīce, from rihtwīs + -līce -ly
: in a righteous manner
righteously indignant with anything so vague — Havelock Ellis
acting righteously in separating husband and wife — George Meredith