Why do Brazilians Speak Portuguese?

Brazil was once a Portuguese colony. Mr. Cabral was a Portuguese explorer who found his way to Brazil. It was later taken over by the Spanish.