Polygamy (specifically polygyny) had been practiced in Chinese societies for thousands of years. Since the Han Dynasty, Chinese men have been able to legally have only one wife. It was common for privileged Chinese men to have a wife and various concubines, however. For those who could afford a bride price and support a family of multiple concubines and children, polygyny provided a better chance of issuing heirs. The importance of this was apparent in the imperial court, which usually housed hundreds of concubines. Aside from concubinage, having multiple wives with equal status was also accepted prior to the ban on polygamy.