# Javanese raids on Indochina

Javanese raids on Indochina or the Shailendra's campaign on Indochina, was a military campaign launched by Shailendra dynasty of Java to captured most of strategic trade areas between Indochina and spreading their influences through Chenla.
The campaign resulted in Javanese victory to besieged Mekong Delta, establish a Javanese settlement at Champa, and later vassalisation of the Lower Chenla (Water Chenla).

## Background

According to Chinese citations, the Chenla splits into the two factions, Land Chenla and Water Chenla. By this actions, the Chenla suffered an epidemic situation and Shailendra dynasty also realized this situations. Many of the Javanese sailors who sailing in South China Sea seeing a big potential in the middle of chaos situation in Chenla, the Javanese ships always used the port in Chenla as their shelters and the Javanese sailors had an insight on the situation in Chenla which the informations are useful to the preparation of military campaign. When the Shailendra dynasty knowing about the situation by the reports of Javanese sailors about conditions in Water Chenla, the Shailendra launched an military campaign on Water Chenla.

## Campaigns
### Raids on Tonkin and Champa (767, 774–787)

In c. 767, the Java (Daba) fleets from Shailendra dynasty were laid a military attacks. The Cambodian inscriptions were generally said the fleets was Malayan, Sumatran, Javanese, or all of them, quickly seized the island of Pulo-Condor on the southern Chenla, and the island were used by Javanese pirates to conducting some numerous military raids on Champa and Chiaou-Chou. At the same year, Tonkin coast was assaulted by Java (Shepo) of Shailendra and Kunlun raids, around modern-day Hanoi, the capital of Tonkin (Annam). Around Son-tay they were vanquished at the hands of Chang Po-i the governor, after the Kunlun and the Javanese assaulted Tonkin in 767.
Champa was subsequently assaulted by Javanese or Kunlun vessels in 774 and 787. In 774, an series of assault was launched again on Po-Nagar in Nha-trang where the pirates demolished temples, while in 787 an assault was launched on Phang-rang. Several Champa coastal cities suffered naval raids and assault from Java. Java armadas was called as Javabala-sanghair-nāvāgataiḥ (fleets from Java) which are recorded in Champa epigraphs. All of these raids believed was launched by the Sailendras, dynasty ruler of Java and Srivijaya. The possible cause of Javanese assault on Champa was probably prompted by commerce rivalry on serving Chinese market. The 787 epigraph was in Yang Tikuh while the 774 epigraph was Po-nagar.
In 774, Javanese raiders from the south launched a surprising seaborne invasion of Champa in Kauthara province, plundering cities, stealing the golden statue of Bhagavati, and demolished the Champa's Siva-linga temple of Po Nagar. Apparently Prithindravarman, the predecessor of Champa king Satyavarman, was killed by the invaders amidst chaos. Champa source mentioned their invader as foreigners, sea-farers, eaters of inferior food, of frightful appearance, extraordinarily black and thin. The 774 assault by the Javanese happened in the rule of Isvaraloka (Satyavarman). Cham record mentioned that their country was hit by ferocious, pitiless, dark-skinned sea raiders, which modern historians believed to by Javanese. Java had commercial and cultural links to Champa. And assault was initiated on Cambodia. Javanese raid was launched via the Pulo Condor island. Malaya, Sumatra or Java all could have been the origin of the assaulters. The Kauthara Nha Trang temple of Po Nagar was ruined when ferocious, pitiless, dark-skinned men born in other countries, whose food was more horrible than corpses, and who were vicious and furious, came in ships . . . took away the [temple linga], and set fire to the temple. In 774 according to the Nha Trang epigraph in Sanskrit by the Chams. Men born in other lands, living on other foods, frightful to look at, unnaturally dark and lean, cruel as death, passing over the sea in ships assaulted in 774.
In 787, warriors from Java borne over in ships assaulted Champa. In Phan-rang the Sri Bhadradhipatlsvara temple was arsoned by seaborne Java troops in 787, when Indravarman was in power at the hands of the Javanese. It was mentioned the armies of Java, having come in vessels of the 787 assault, and of the previous assault, that Satyavarman, the King of Champa vanquished them as they were followed by good ships and beaten at sea and they were men living on food more horrible than cadavers, frightful, completely black and gaunt, dreadful and evil as death, came in ships in the Nha-trang Po Nagar epigraph in Sanskrit, which called them men born in other countries. The ruin of the temple at Panduranga in 787 came at the hands of the assaulters.

### Javanese invasion of Chenla

Late in the 8th century, c. 780, Chenla faced war with Javanese pirates that ultimately took over the Mekong delta and then later took over Chenla. However author Michael Vickery asserts that these categories of Water and Land Chenla created by the Chinese are misleading and meaningless because the best evidence shows that until 802 AD, there was no single, great state in the land of ancient Cambodia, but a number of smaller ones.
Shailendras maharaja, Dharanindra ordered his minister to kept the secret conversations and prepared 1,000 vessels on average sizes to equiped them to put on board each on their arms. And valiant the trooops in as great quainty possible, he declared openly that he only want to make a pleasure trips on the islands around Chenla; and he wroted for the governors of the islands submitted him to notify them that he was going to a pleasure trips on the islands. This news were spread everywhere and the governors of the each islands prepared the receive of the Maharaja. When the order was already executed and the preparation are finished, the letter embarked and his fleets and troops are set out to the Chenla.
Khmer king of Water Chenla, Mahipativarman still not suspected the Maharaja until Maharaja was seized the river and leading his forces to the Chenla capital, Vyadhapura. They took the capital with an unexpected attacks, they surrounded the palace. Mahipativarman successfully escaped but eventually got pursued and captured at Sambhupura, the capital of Land Chenla [km]. After that, they brought Mahipativarman to Aninditapura, near Vyadhapura. Khmer forces lately arrived and realized their kings was captured by the Javanese forces. After the capture of Khmer king, the Maharaja took him in palace of Aninditapura and Maharaja seated at throne place and also started conversations with Khmer king. The Maharaja said to the king:
   "What caused you to form a desire which was not into your powers for satisfy, which would not given you happiness if you realized it and which would not have been justified as it easily realizable."
Khmer king did not replied if the Maharaja continued his conversations:
   "You have manifest the desire to see you before my head was on the plate; but if you also had an wished to seize my kingdom or only to ravage a part of it, i would have done the same to Khmer. As you have expressed only the first of these desires, I am going to apply to you the treatment you wished to apply to me and i will then return to my country, without taking anything belonging to Khmer, either of great or small value. My victory (will serve as a lesson) to your successors; no one will be again tempted to undertake a task above his power nor desire more than the share given to him by destiny; one will consider himself fortunate to have health when he can enjoy it."
Then he had the head of Mahipativarman cut off. He approached the Khmer minister and said to him:
   "I am going to reward you for the good (you tried to do) in acting as a good minister; for i know well how you wisely counselled your master. (What a pity for him) that he did not listen to you. Look now for some one who will make a good King after this fool, and put him in place of the latter."
When the Maharaja returned to his own palace back home, he seated himself on the throne. Set before him was a plate upon which rested the head of the former Khmer king.$^{:16–17}$

## Aftermath

Water Chenla had become dependent on the thalassocratic Shailendra dynasty on Java and the Srivijaya city-state on Sumatra. The polity incorporated into the Javanese monarchy around the year 781. Land Chenla maintained its integrity under Jayavarman II.
When the Maharaja cameback to Medang without accompanying him, and when he seated back on the throne which dominated the lake and had placed before him the plate containing the head of the Khmer king. Then he called the high officials of Medang and told them what had happened and his motives for making the expedition against Chenla. (On learning that), the people of Zabag (Java) prayed for their King and wished him all kinds of honors. The Maharaja then had the head of the King of the Chenla and placed his head into the vass and send it to the king who was the successor of Chenla's king. The Maharaja also send a letter to the successor, he said:
   "I have been prompted to act as I have done against your predecessor because of the hatred he manifested against us, and we have chastened him (to give a lesson) to those who wish to imitate him. We have applied to him the treatment he wished to apply to us. We think it wise to send you his head,for it is not necessary now to keep it here. We do not draw any glory from the victory we have won over him."