Harivamsha or the family of Hari (Srikrishna) is properly speaking a sequel of the great Epic Mahabharata. The work opens with a request made by Sounaka to Souti for an account of the two great clans namely, Vrishnis and Andhakas. He says:—"O son of Lomaharshana, while describing the birth and history of the Kurus you forgot to narrate the history of Vrishnis and Andhakas. It becomes you to relate their history." Chapter I, Sloka 9. The work in which an account of the Kurus is given is undoubtedly the Mahabharata though we meet with a little confusion in the text, when it is mentioned as a Purana. This passage clearly shows that the object of the author is evidently to give a detailed account of the family of Krishna which is not to be found in Mahabharata.
It is almost impossible to ascertain the date of the composition of this work as it is of other ancient Sanskrit works. We have no regular history of our literatures and there are so many contradictory statements in various works that we cannot safely rely on internal evidence for the solution of the question of date. The popular belief is that Mahabharata Ramayna and Puranas were written long after the Vedas. But we have references to these works even in the Vedic literature.
In the Atharva Veda we have the names of Itihasa, Purana and Gatha. We meet with another passage in Satpata Brāhmana wherein Itihasas and Puranas have been mentioned. The text is:
"The Rig Veda, Sama Veda, Atharva Veda, Itihasis, Purana, Upanishads, Sutras, Slokas, etc."
There are many other similar passages which clearly prove that the class of literature passing under the appelation of Puranas and Itihasas were in existence even in the Vedic period. From these statements it is very difficult to arrive at a conclusion when these works were really written. The various episodes of these works passed orally from one generation to another for many centuries before they were committed to writing. And even after this many interpelations had been added by various writers in the shape of references to contemporaneous events.