Why was the Monroe Doctrine written? The answers are

ATo close America to any European colonization
BTo end slavery
CTo form Indian reservations
DTo protect western settlers from French colonization

I am taking a social studies test for home school and google doesn't really help :(