The word bastard originates from latin/greek word berstardium and it means the man who has no father as his mother was unmarried at the time of his birth. It has become a general term of abuse now and the literal meaning rarely occurs.
A person who was born before there parents were married