What did the Line of Demarcation do?

A. It split the world into two and stated that anything east of the line could be claimed by Portugal and that anything west of the line could be claimed by Spain.
B. It split the world into two and stated that no Europeans could travel west of that line.
C. It split the world into two and stated that anything north of the line could be claimed by Portugal and that anything south of the line could be claimed by Spain.
D. It split the world into two and stated that no Europeans could travel south of that line.