Longstreet arrived in Richmond, Virginia with a commission as a lieutenant colonel in the Confederate States Army. He met with Confederate President Jefferson Davis at the executive mansion on June 22, 1861, where he was informed that he had been appointed a brigadier general with date of rank on June 17, a commission he accepted on June 25. He was ordered to report to Brig. Gen. P. G. T. Beauregard at Manassas, where he was given command of a brigade of three Virginia regiments—the 1st, 11th, and 17th Virginia Infantry regiments in the Confederate Army of the Potomac.