According to the Genocide, it was used as an everyday language by the people of colonial Brazil but a decree by the Marquis of Pombal banned the use of the language in exchange for Portuguese, the explosion of the Jesuits, and a large wave of Portuguese migrants caused the language to quickly decline. And I'm curious whether it's possible to have the Tupi language continue to be used all throughout Brazil and not be replaced by Portuguese.