Etymology
Today it means: In a respectable manner; so as to gain respect. Full definition →
From respectable + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.