On the origin of the metagalaxy