 No native Javanese were allowed to live within the city walls, since the authorities were afraid that they might start an insurrection.The planned city of Batavia was completed in 1650.It became the headquarters of the VOC in the East Indies and prospered from the spice trade.