illegitimately

adverb
1
to parents who are not married to each other
به طور نامشروع
2
in a way that is not allowed by a particular set of rules or by law
به طور غیرقانونی, به طور نامشروع, به طور خلاف قانون
The government had illegitimately gained power.
opposite legitimately