In a legitimate manner, properly, fair and square.
From legitimate + -ly.
Select a language to see translations