The Majapahit dynasty, based in and around East Java, began the foundations of an empire that was to dominate the entire Indonesian archipelago, the Malay Peninsula and part of the Philippines for hundreds of years. This was the beginning of profitable trade relations with China, Cambodia, Siam, Burma and Vietnam. As the power in Central Java declined in the 10th century, powerful kingdoms rose in East Java to fill the power vacuum. During the reign of King Erlangga both East Java and Bali enjoyed lucrative trade with the surrounding islands, and an artistic and intellectual renaissance. Parts of the Mahabarata epic were translated and re-interpreted to conform to an East Javanese philosophy and view of life, and it was from this era that East Java inherited much of its temple art.