Wei Bao was a descendant of the royal family of the Wei state of the Seven Warring States. His father was King Jingmin, the second last ruler of Wei, and his older brother, Wei Jia, was the last king of Wei. The Wei state was conquered by the Qin state in 225 BC as part of a series of wars to unify China under Qin rule.