 Wright, after briefly occupying a subordinate command in Louisville, Kentucky, transferred in May 1863 to the Army of the Potomac to command the 1st Division of VI Corps.Burnside consolidated all the forces of the department and created the XXIII Corps, which was also named the Army of the Ohio, with himself in command.Elements of the new Army of the Ohio helped repel Morgan's Raid, although the entire army rarely functioned as a single unit during this campaign.