illegitimately

definition: of biological parents not married to each other
example: This child was born illegitimately.
speech part: adverb
synonyms: out of wedlock
definition: in a manner disapproved or not allowed by custom
example: The landlord acted illegitimately when they increased the rent fourfold.
speech part: adverb
synonyms: illicitly

How illegitimately is being used?