Robert E. Lee felt that his loyalty belonged more to the state than the Union. He declined an offer the lead a union army, and joined up with the south, offering his services to Virginia in the April of 1861. Jefferson Davis appointed Robert a General in the Confederate Army. While a general, he failed to stop the invasion of Virginia, and was put in charge of Coastal Defenses, after which he became an advisor to Jefferson Davis. During May of 1862, Joseph E. Johnston was wounded during the Peninsular Campaign. and Lee was thrust into the command of the Confederate's strongest army, which he renamed the Army of Northern Virginia.