William’s mother was not married to William’s father. Through the Middle Ages up until the mid 20th Century, Bastard was the term used for children of un-wed parents.
It is still that term, yet lately it has been bastardized as a pejorative.