Etymology
Today it means: In a blameworthy manner. Full definition →
From blameworthy + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.