Feuding small states competing against each other and ruled by a Sasak prince is all thats really know about Lombok before the 17th century. Taking advantage of this unrest, the Balinese took control of western Lombok in the early 17th century along with the Makassarese from neighbouring Sumbawa who took the east Lombok.
The Indonesian archipelago thrived in the 14th century, with many kingdoms benefiting from the Arab controlled spice trade. 1498 saw the arrival of the Portugese, the first Europeans to arrive in Indonesia. Dutch access to the spice trade was severly disrupted by the Dutch war of Independence with Spain and Spain's relationship with Portugal. Desperate to ship spices from Asia themselves, an expedition set sail for the East Indies in 1595. The total round trip of the expedition made a 400% profit and soon other expeditions followed. With many Dutch companies competing with each other and cutting into profits, the Dutch Government seeing what could be made from the Asian Spice Trade, combined all the companies to from the Dutch East India Company.
Following world war two, Indonesia was know as the Dutch East Indies formed from the left over colonies of the Dutch East India Company, and adminstration that had been in power and under the control of the Duch since 1800. During the 19th century Dutch assets and its authority were expnaded, reaching their maximum in the early 20th century. This defined now the borders of modern Indonesia today. The Dutch colony was based on strict social catagories, with the Dutch social elite living separately from the native subjects but still closely linked.
During World War Two, Indonesia was occupied by the Japanese but the Indonesian nationalists declared independance in 1945 and resulted in the National Revolution that ended after the Dutch Indonesian Conference that was overseen by the United Nations, the result of which lead to total recognition of Indonesian Soverignty on December 27th 1949.
The rest, as they say, is history.