From the earliest colonial days, the control of upper Peru by the Spanish crown had been firm. Late 1780 saw the Rebellion of Túpac Amaru II. In helping to vanquish this Murillo distinguished himself, and was appointed Lieutenant of the Militia.