In a firm, strong, or confident manner; with certainty and conviction.
From affirm plus the adverbial suffix -ly, with the meaning influenced by the root 'firm.' The adverb describes doing something with firmness and conviction.
This is an older, less common way to say something with firmness—it's what you'd find in historical documents and 19th-century literature where people spoke with great certainty.
Complete word intelligence in one call. Free tier — 50 lookups/day.