Learned borrowing from Latin -ēnsis (“originating in”). Compare the inherited doublet -ês.
Practice speaking and memorizing "-ense" and many other words and sentences in Portuguese.