Etymology
Today it means: In an immoral manner, not morally, wrongly. Full definition →
From immoral + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.