historical term for an illegitimate child

A bastard is a person who was born of parents who are not married to one another. It is considered by some cultures and individuals as a nasty or insulting word, or sometimes even profanity, with the term illegitimate being a little more polite. Some cultures see illegitimate children as dirty or bad, and only accept sexual relations between married couples.