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