The war ended with the 1678 Treaties of Nijmegen but French expansion continued and Ramsay was promoted Major in early 1685. In June, William sent the Brigade to help his father-in-law James II suppress simultaneous rebellions in Scotland and England; these quickly collapsed and it returned without seeing action. In early 1688, James demanded William repatriate the entire Brigade; he refused but used the opportunity to remove officers of doubtful loyalty. Among them was Ramsay's Colonel, John Wauchope, who became a senior Jacobite commander in the 1689-1691 Williamite War in Ireland. As Lieutenant-Colonel, Ramsay commanded the regiment when it accompanied William to England in the November 1688 Glorious Revolution and was appointed Colonel in December.