It had nearly, however, been another ministry on whom the task of quelling these riots had fallen. Though, as has been already said, Lord Melbourne’s cabinet derived a momentary strength from the accession of a young Queen, the support it thus acquired did not last; and in May, 1839, having been defeated on a measure of colonial policy, which will be mentioned hereafter, the cabinet resigned. The Queen intrusted the task of forming a new administration to Sir Robert Peel, who undertook it with a reasonable confidence that he should be able to hold his ground better than formerly, now that the retirement of his predecessors was their own act, and admitted by them to have been caused by a consciousness of the divisions among their supporters and their own consequent weakness. He had the greater reason for such confidence, since two of the colleagues of Lord Grey who had refused his offers in 1834, Lord Stanley and Sir James Graham, were now willing to unite with him; and he had almost completed his arrangements, when he was stopped by an unexpected, though not altogether unprecedented, impediment. It will be recollected that, in 1812, some of the arrangements for the formation of a new administration on the death of Mr. Perceval were impeded by a doubt which was felt in some quarters whether the new ministers would be allowed to remove one or two officers of the household, to whom the Regent was generally understood to be greatly attached, but who were hostile to the party which hoped to come into power, though it was afterward known that these officers had felt themselves bound to retire as soon as the arrangements in contemplation should be completed.[246] Sir Robert Peel was now met by a difficulty of the same kind, but one which the retiring ministers had the address to convert into a real obstacle. The Queen, who had warm affections, but who could not possibly have yet acquired any great knowledge of business, had become attached to the ladies whom Lord Melbourne had appointed to the chief places in her household. It had never occurred to her to regard their offices in a political light; and, consequently, when she found that Sir Robert considered it indispensable that some changes should be made in those appointments, she at once refused her consent, terming his proposal