Who took over Indonesia before World War 2?

Indonesia was a colony of the Netherlands for centuries prior to World War II.