After securing Ruhuna, his intention was to capture Polonnaruwa, the capital of the country. In 1066, he launched the first attack on Polonnaruwa, and captured and held the city for a brief time. However, after receiving reinforcements from South India, the strengthened Chola army attacked again, forcing Vijayabahu to flee. He established himself in Wakirigala after this and concentrated on organizing his army for a fresh attempt to capture Polonnaruwa. During this time, he also had to face rebellions from other Sinhala leaders fighting for the throne. Overcoming these rebellions, Vijayabahu continued to muster his armies in order to retake the Capital, but was not strong enough to attempt another attack against the Chola army. He made Katharagama in Ruhuna as his capital and also he started to organize an army to defeat the Cholas. Civil war broke out during 1069–1070 in the Chola empire in South India, throwing the country into turmoil. The concerns within India prevented the empire from focusing on Sri Lanka, providing an opportunity for Vijayabahu to attack again while the Chola forces in Polonnaruwa were more or less isolated. He has gained the support of many kingdoms to defeat the Cholas such as Burma and Pandya who also wanted to defeat Cholas in their kingdom. Starting from Mahanagakula on the south of the Walawe river, Vijayabahu dispatched three armies to attack Polonnaruwa from three fronts. One army was sent along the western shore of the country to Mahathittha port to deal with any reinforcements arriving from South India. Afterwards, part of this army moved towards Polonnaruwa and attacked from the North-west, while the other part held the ports to prevent reinforcements from arriving. A second army was sent from the east across Magama to attack Polonnaruwa from the east. The third and main force advanced across the country, led by the king. Surrounded by these three armies, Polonnaruwa was besieged for seven months before king Vijayabahu’s forces entered the city. In 1070, Vijayabahu became the ruler of Polonnaruwa. At that time Sri Lanka was known as Thambapanni. After the victory at Polonnaruwa, Vijayabahu had to face more rebellions. This caused him to delay his coronation, which took place in 1072 or 1073, eighteen years after being crowned as Vijayabahu in Ruhuna and after a military campaign that lasted seventeen years.