The Rig Veda mentions that during the Vedic period, a man could have more than one wife. The practice is attested in epics like Ramayana and Mahabharata. The Dharmashastras permit a man to marry women provided that the first wife agree to marry him. Despite its existence, it was most usually practiced by men of higher status. Common people were only allowed a second marriage if the first wife could not bear a son or have some dispute because there is no law for divorce in Hinduism.