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