Meanwhile, mounting military failures, and corrupt rule by Margaret and her allies caused widespread discontent, and in the midst of this chaos, Richard of York returned with an army to arrest Somerset and reform the court.