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