What was decided by the Treaty of Tordesillas?

The treaty divided up uncharted land between Spain and Portugal.