user157: I've always found the imagery of Vajrapani (a wrathful Bodhisattva) very evocative. I'm reading a little bit about him and how his form is to do with energy and power in service of the Dharma so he is of course a positive figure. 

But I'm just wondering if anyone knows about the history of this figure and wrathful deities like him. Is he from the Tibetan culture and does he predate Buddhism coming into that country. Also is he a deity that perhaps had negative connotations (a demon perhaps) that Buddhism has co-opted?

user5777: Longchen Rabjam's Precious Treasury of Philosophical Systems (tr. Richard Barron) says:

Traditionally, Manjushri is renowned for having compiled the tantras of enlightened form, Avalokiteshvara the tantras of enlightened speech, and Vajrapani the tantras of enlightened mind, qualities, and activity.

A footnote fills this out:

In the sutra teachings, ''the lords of the three families" -- Manjushri, Avalokiteshvara, and Vajrapani -- are among the eight great bodhisattvas in the retinue of every nirmanakaya buddha such as Shakyamuni. In the ... context ... of the Vajrayana teachings, they are emanations who are not separate from the expounder of the tantras, whether Buddha Shakyamuni or the primordial buddha (usually referred to as Samantabhadra or Vajradhara, who expounded tantras considered to predate the historical Buddha). In the tantras, these emanations are part of the naturally manifest retinue that appears in the sambhogakaya realm of Akanishtha. In the sutras, these bodhisattvas are peaceful manifestations; in the Vajrayana, the emanations may appear in either peaceful or wrathful forms.

So, no negative connotations I'd say! I know Vajrapani appeared in Sanskrit first because he's mentioned in Ch. 10 of 'Way of the Bodhisattvas,' by the 8th century Indian buddhist monk Shantideva. Wiki mentions the earlier sutra that may have been Shantideva's reference (see link in comment).

user745: David Lewis is correct that Vajrapani is mentioned in the Pali Canon. It's hard to tell though, because his name is just translated rather than being left alone. He is mentioned in DN 3, the Ambaṭṭha Sutta. The relavent passage is:

Now at that time the spirit who bears the thunderbolt stood over above
  Ambaṭṭha in the sky with a mighty mass of iron, all fiery, dazzling,
  and aglow, with the intention, if he did not answer, there and then to
  split his head in pieces. And the Blessed One perceived the spirit
  bearing the thunderbolt, and so did Ambaṭṭha the Brahman. And Ambaṭṭha
  on becoming aware of it, terrified, startled, and agitated, seeking
  safety and protection and help from the Blessed One, crouched down
  beside him in awe, and said: ‘What was it the Blessed One said? Say it
  once again!’

https://suttacentral.net/en/dn3
If we look in the Pali this paragraph goes:

Tena kho pana samayena vajirapāṇī yakkho mahantaṃ ayokūṭaṃ ādāya
  ādittaṃ sampajjalitaṃ sajotibhūtaṃ ambaṭṭhassa māṇavassa upari vehāsaṃ
  ṭhito hoti: “sacāyaṃ ambaṭṭho māṇavo bhagavatā yāvatatiyakaṃ
  sahadhammikaṃ pañhaṃ puṭṭho na byākarissati, etthevassa sattadhā
  muddhaṃ phālessāmī”ti. Taṃ kho pana vajirapāṇiṃ yakkhaṃ bhagavā
  ceva passati ambaṭṭho ca māṇavo.

https://suttacentral.net/pi/dn3
It is spelled vajirapāṇī just because in Pali you aren't allowed to have an r immediately after a j at the end of a syllable, so an I is added to make it easier to pronounce. The meaning is the same, and it means one who bears the Vajra (thunderbolt)

user5715: One source in which the history of Vajrapāṇi is discussed is the book Indo-Tibetan Buddhism by Snellgrove. He traces him to the Pāḷi figure Vajirapāṇi, and tries to show how we developed. Another useful source for Vajrapāni and wrathful deities generally, is the book Ruthless Compassion by Rob Linrothe, which focusses on changes in Indian art over time.
There's a long gap in the story from Pāḷi to Tantra. It took many centuries for the worship of bodhisatvas to develop (ca. 4-5th centuries CE) and more centuries again for images of them to start appearing.

157: <p>I've always found the imagery of Vajrapani (a wrathful Bodhisattva) very evocative. I'm reading a little bit about him and how his form is to do with energy and power in service of the Dharma so he is of course a positive figure. </p>

<p><a href="https://i.stack.imgur.com/8gIbG.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8gIbG.jpg" alt="Vajrapani"></a></p>

<p>But I'm just wondering if anyone knows about the history of this figure and wrathful deities like him. Is he from the Tibetan culture and does he predate Buddhism coming into that country. Also is he a deity that perhaps had negative connotations (a demon perhaps) that Buddhism has co-opted?</p>
 5777: <p>Longchen Rabjam's <em>Precious Treasury of Philosophical Systems</em> (tr. Richard Barron) says:</p>

<blockquote>
  <p>Traditionally, Manjushri is renowned for having compiled the tantras of enlightened form, Avalokiteshvara the tantras of enlightened speech, and Vajrapani the tantras of enlightened mind, qualities, and activity.</p>
</blockquote>

<p>A footnote fills this out:</p>

<blockquote>
  <p>In the sutra teachings, ''the lords of the three families" -- Manjushri, Avalokiteshvara, and Vajrapani -- are among the eight great bodhisattvas in the retinue of every nirmanakaya buddha such as Shakyamuni. In the ... context ... of the Vajrayana teachings, they are emanations who are not separate from the expounder of the tantras, whether Buddha Shakyamuni or the primordial buddha (usually referred to as Samantabhadra or Vajradhara, who expounded tantras considered to predate the historical Buddha). In the tantras, these emanations are part of the naturally manifest retinue that appears in the sambhogakaya realm of Akanishtha. In the sutras, these bodhisattvas are peaceful manifestations; in the Vajrayana, the emanations may appear in either peaceful or wrathful forms.</p>
</blockquote>

<p>So, no negative connotations I'd say! I know Vajrapani appeared in Sanskrit first because he's mentioned in Ch. 10 of 'Way of the Bodhisattvas,' by the 8th century Indian buddhist monk Shantideva. Wiki mentions the earlier sutra that may have been Shantideva's reference (see link in comment).</p>
 745: <p>David Lewis is correct that Vajrapani is mentioned in the Pali Canon. It's hard to tell though, because his name is just translated rather than being left alone. He is mentioned in DN 3, the Ambaṭṭha Sutta. The relavent passage is:</p>

<blockquote>
  <p>Now at that time the spirit who bears the thunderbolt stood over above
  Ambaṭṭha in the sky with a mighty mass of iron, all fiery, dazzling,
  and aglow, with the intention, if he did not answer, there and then to
  split his head in pieces. And the Blessed One perceived the spirit
  bearing the thunderbolt, and so did Ambaṭṭha the Brahman. And Ambaṭṭha
  on becoming aware of it, terrified, startled, and agitated, seeking
  safety and protection and help from the Blessed One, crouched down
  beside him in awe, and said: ‘What was it the Blessed One said? Say it
  once again!’</p>
</blockquote>

<p><a href="https://suttacentral.net/en/dn3" rel="nofollow">https://suttacentral.net/en/dn3</a></p>

<p>If we look in the Pali this paragraph goes:</p>

<blockquote>
  <p>Tena kho pana samayena <strong>vajirapāṇī</strong> yakkho mahantaṃ ayokūṭaṃ ādāya
  ādittaṃ sampajjalitaṃ sajotibhūtaṃ ambaṭṭhassa māṇavassa upari vehāsaṃ
  ṭhito hoti: “sacāyaṃ ambaṭṭho māṇavo bhagavatā yāvatatiyakaṃ
  sahadhammikaṃ pañhaṃ puṭṭho na byākarissati, etthevassa sattadhā
  muddhaṃ phālessāmī”ti. Taṃ kho pana <strong>vajirapāṇiṃ</strong> yakkhaṃ bhagavā
  ceva passati ambaṭṭho ca māṇavo.</p>
</blockquote>

<p><a href="https://suttacentral.net/pi/dn3" rel="nofollow">https://suttacentral.net/pi/dn3</a></p>

<p>It is spelled vajirapāṇī just because in Pali you aren't allowed to have an r immediately after a j at the end of a syllable, so an I is added to make it easier to pronounce. The meaning is the same, and it means one who bears the Vajra (thunderbolt)</p>
 5715: <p>One source in which the history of Vajrapāṇi is discussed is the book <em>Indo-Tibetan Buddhism</em> by Snellgrove. He traces him to the Pāḷi figure Vajirapāṇi, and tries to show how we developed. Another useful source for Vajrapāni and wrathful deities generally, is the book <em>Ruthless Compassion</em> by Rob Linrothe, which focusses on changes in Indian art over time.</p>

<p>There's a long gap in the story from Pāḷi to Tantra. It took many centuries for the worship of bodhisatvas to develop (ca. 4-5th centuries CE) and more centuries again for images of them to start appearing.</p>
