Adverb
-
in an illegal manner
"they dumped the waste illegally"
-
in a manner disapproved or not allowed by custom
"He acted illegitimately when he increased the rent fourfold"