The Bodhisattva Avalokiteshvara (Tibet: Chenrezig) vowed that he would not enter Nirvana until all beings had achieved liberation from the wheel of Samsara. He visited the three lowest realms of temporal existence and liberated many beings.
From the top of Mount (Su)meru, (the Axis-Mundi in Buddhist cosmology), he surveyed the ever-revolving universe and discovered that the three realms were once again filled with unending suffering. Avalokiteshvara, reflecting upon his vow, perceived that the task was impossible, and shattered into a thousand pieces.
The Buddhas restored Avalokiteshvara, equipping him with a thousand arms (an eye in every palm), and a multitude of heads, including a head of wrath. It is also said that when the Bodhisattva shattered, his new bodily form sprang into existence, better equipping him for the task of liberation.
Again, we are told, that Avalokiteshvara wept for all beings trapped within the wheel of ever-becoming, and from his tears, the Bodhisattva Tara was born, who is also his consort.