Ingloriously has 2 different meanings across 1 category:
Adverb
in a dishonorable manner or to a dishonorable degree
"his grades were disgracefully low"
In an inglorious manner.