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