 For this purpose, the Buddha then sat under a Bodhi tree for a week of meditation.During this time Sakka (in Pāli, the ruler of the Tavatimsa, in sanskrit called Trāyastriṃśa) one of the heavens in Buddhist cosmology, supported by his assistant Vissakamma, moulded a lifelike image of the Buddha using ornaments donated by the king and his people.It is also said that Sakka and Vissakamma (or Vishvakarman) created a separate pavilion for the Buddha to live and enjoy during these seven days.