Having determined the total reorganization of the army on July 22, and were then ordered to constitute an operations corps in Extremadura, another of observations in Beira and Trás-os-Montes, and also a reserve in Coimbra, Bacelar was given the command of the second with the which marched from the vicinity of the Guard towards Castelo Branco regulating its movements by those of the operations army (that obeyed Bernardim Freire de Andrade) in combination with those of the English army of Wellesley.