What is the meaning of the word "illegitimately"?

Definitions:

  1. in a manner disapproved or not allowed by custom copy to clipboard adverb
    • The landlord acted illegitimately when they increased the rent fourfold. copy to clipboard
  2. of biological parents not married to each other copy to clipboard adverb
    • This child was born illegitimately. copy to clipboard

Synonyms: