
Chapter 1
Vinayaka — the one who used to block the way
The god you now invoke first was once the thing you performed a rite to keep away
A different kind of prayer
For several nights, the head of the household had barely slept. His dreams were filled with disturbing images: men with shaved heads, camels, and the sensation of drowning. His son was wasting away. Tasks that seemed almost complete kept collapsing at the last moment.
The priest gave the trouble a name: the Vinayakas. "There are four," he said. "Shalakatankata, Kushmandarajaputra, Usmita and Devayajana. When they take hold of someone, obstacles begin to appear in everything that person tries to do."
He then prescribed the rite found in the Manava Grhyasutra. At night, food was to be placed at a crossroads or on the threshold of the house: rice, meat, flowers and a lamp. Offerings were made, prayers were spoken, and the Vinayakas were asked to leave.
This was not worship in search of a blessing. It was a ritual to be rid of them.
Yajnavalkya's page
Centuries later, the Yajnavalkya Smriti presents a very different picture.
A single Vinayaka now comes to the foreground: Ganapati, appointed lord of the ganas by Rudra and Brahma. Other names still appear in the rite, but the focus has shifted toward one divine figure.
The text continues to describe the effects of Vinayaka affliction — bad dreams, the feeling of being followed, promising work suddenly going wrong.
Yet Vinayaka is no longer merely a troublesome presence. He has entered the world of the gods.
The wall at Udayagiri
Around the same period, the elephant-headed deity begins to appear clearly in surviving art.
At Udayagiri, near Vidisha in Madhya Pradesh, a fifth-century Gupta sculpture is among the oldest securely dated images of Ganesha. The same cave complex also contains a relief of the Seven Mothers, or Saptamatrikas, a group with which early Ganesha imagery is often associated.
Another important fifth-century image survives at Bhumara near Bharhut: round-bellied, one-tusked, holding a goad and a noose, with a bowl of sweets in his lap.
By the fourth and fifth centuries, the figure is unmistakably the Ganesha we recognise today.
The one who blocked the way now opens it
Now his name is invoked at the beginning of worship and before new undertakings. He is Vighnaharta, the remover of obstacles.
The reversal is striking: a power once feared for causing obstruction becomes the god called upon to clear the way.
A Rigvedic verse, "gananam tva ganapatim havamahe," is still recited in Ganesha worship. But in the Rigveda itself, the verse is addressed to Brahmanaspati, later closely associated with Brihaspati, not to the elephant-headed Ganesha.
Later tradition adopted the verse for him. Historical scholarship treats that as a later association. Both parts of that history belong to the story.
Note: The Vinayakas are first named in the Manava Grhyasutra (2.14), where they are four troublesome spirits and a rite is prescribed to be rid of them. In the Yajnavalkya Smriti (roughly 3rd–5th century) a singular Vinayaka — Ganapati — is appointed lord of the ganas by Rudra and Brahma (the same rite later invokes six names); this is where the turn shows, where a demon becomes a god. The oldest securely dated images of the benign elephant-headed god are Gupta — Udayagiri Cave 6 (whose cave complex also holds a Saptamatrika relief) and the Bhumara temple, both 5th century. The Rigveda verse (2.23.1) with "ganapati" in it is there addressed to Brahmanaspati (whom later tradition associates with Brihaspati); later Ganesha worship adopted it, and scholars treat it as a later borrowing. Some scholars read Ganesha as a coming-together of the Vinayaka obstacle-spirits of early ritual literature, elephant/yaksha imagery, and the Matrika context — the debate is still open.
Source: from several texts, Vinayaka — the one who used to block the way