The 20th century marked a turning point in Indonesia's history, as the nation began its struggle for independence from Dutch colonial rule. The Japanese occupation during World War II further fueled the desire for self-determination, as Indonesians witnessed a power vacuum in the region.
On August 17, 1945, after Japan's surrender, Indonesia declared its independence, with Sukarno as its first president and Mohammad Hatta as vice-president. This declaration marked the beginning of a challenging period of negotiation with the Dutch, who were reluctant to relinquish their colony.
Independence was officially recognized in 1949, and Indonesia became a sovereign nation, charting its own course on the world stage. The country's founding principles, known as Pancasila, emphasize unity, democracy, social justice, and religious freedom.