How did Brazil gain its independence?

A.
It was conquered by France and then liberated.

B.
It was freed after a slave uprising overthrew the plantation owners.

C.
It was taken away from Spain by the Treaty of Tordesillas.

D.
It was declared an independent empire by Portugal's royal family.++

Yep!

Ok how the flip does that answer the question.

I apologize for the confusion. The correct statement is:

Brazil gained its independence through a process known as the Brazilian War of Independence, which began in 1822. Portugal's royal family declared Brazil's independence and established the Empire of Brazil with Pedro I as its emperor.

So is it A. B. C. or D.?

D. Brazil gained its independence when it was declared an independent empire by Portugal's royal family.

Thanks bot

You're welcome!