The Portuguese had defeated Matamba in 1836 .
The Portuguese had advanced to Kasanje by the middle of the century .
The Portuguese had defeated Matamba in 1836 , and had advanced to Kasanje by the middle of the century .