Johnston was born at longwood house in “cherry grove”, near farmville, virginia. His father, judge peter johnston, was of scottish descent and his mother, mary (ne wood), scottish and english. Johnston was named for major joseph eggleston, under whom his father served in the american revolutionary war. Johnston attended the united states military academy, graduating in 1829, ranking 13th of 46 cadets, and was appointed a second lieutenant in the 4th u.S. Artillery he would become the first west point graduate to be promoted to a general officer in the regular army, reaching a higher rank in the u.S. Army than did his 1829 classmate, robert e. Lee. Johnston resigned from the army in march 1837 and studied civil engineering. During the second seminole war, he was a civilian topographic engineer aboard a ship led by william pope mcarthur. Having encountered more combat activities in florida as a civilian than he had had previously as an artillery officer, johnston decided to rejoin the army. He departed for washington, d.C., in april 1838 and was appointed a first lieutenant of topographic engineers on july 7; on that same day, he received a brevet promotion to captain for the actions at jupiter inlet and his explorations of the florida everglades. During the mexican-american war, johnston won two brevets and was wounded at both cerro gordo and chapultepec. He had also been brevetted for earlier service in the seminole wars. He served in california and was appointed brigadier general and quartermaster general of the u.S. Army on june 28, 1860. Johnston married lydia mclane, the daughter of louis mclane, a congressman from delaware, and a member of president andrew jackson’s cabinet. They had no children. She died in february 1887. His brother charles clement johnston also served as a u.S. Representative, and his nephew john warfield johnston was a united states senator; both represented virginia.When his native state seceded from the union in 1861, johnston resigned his commission as a brigadier general in the regular army, the highest-ranking u.S. Army officer to do so. Initially commissioned as a major general in the virginia militia on may 4, he was appointed a brigadier general in the confederate army on may 14. Johnston relieved thomas j. “stonewall” jackson in command at harpers ferry in may and organized the army of the shenandoah in july. In the first battle of bull run (first manassas), july 1861, johnston brought forces from the shenandoah valley to combine with those of brig. Gen. P.G.T. Beauregard, but he ceded direction of the battle to the more junior beauregard since he lacked familiarity with the terrain. He did manage to claim a share of public credit for the southern victory, however. After bull run, johnston assisted beauregard and william porcher miles in the design and production of the confederate battle flag. It was johnston’s idea to make the flag square. In august, johnston was promoted to full generalwhat is called a four-star general in the modern u.S. Armybut was not pleased that three other men he had outranked in the “old army” now outranked him, even though davis backdated his promotion to july 4. Johnston felt that since he was the senior officer to leave the u.S. Army and join the confederacy he should not be ranked behind samuel cooper, albert sidney johnston, and robert e. Lee. Only beauregard was placed behind johnston on the list of five new generals. This led to much bad blood between johnston and jefferson davis, which would last throughout the war. Johnston was placed in command of the confederate army of the potomac, which would later be rechristened the army of northern virginia and led it in the start of the 1862 peninsula campaign. Defending the capital of richmond against major general george b. Mcclellan, johnston employed a strategy of gradual withdrawals before any general engagement, until his army was only five miles in front of the city, where mcclellan intended to besiege it. Finally cornered, johnston attacked on may 31, 1862, south of the chickahominy river, in the battle of seven pines. The battle was tactically inconclusive, but it stopped mcclellan’s advance on the city and would turn out to be the high-water mark of his invasion. More significant, however, was that johnston was wounded on the second day of the battle, hit in his right shoulder and chest. This led to davis turning over command to the more aggressive robert e. Lee, who would lead the army of northern virginia for the rest of the war.After recovering from his wounds, johnston was given command of the department of the west, the principal command of the western theater, which gave him titular control of general braxton bragg’s army of tennessee and lieutenant general john c. Pemberton’s department of mississippi and east louisiana. Pemberton faced major general ulysses s. Grant from inside the besieged city of vicksburg, mississippi, and johnston urged him to abandon the city temporarily, join forces with johnston’s troops, and outnumber grant, but davis ordered pemberton to stay in vicksburg, causing great consternation in the south when its last stronghold on the mississippi river fell on july 4, 1863. Later that year, bragg was defeated in the battle of chattanooga and davis reluctantly relieved his old friend bragg and replaced him with johnston.Faced with major general william t. Sherman’s advance from chattanooga to atlanta in the spring of 1864, johnston reverted to his strategy of withdrawal. He conducted a series of actions in which he prepared strong defensive positions, only to see sherman maneuver around them, causing him to fall back in the general direction of atlanta. Johnston saw the preservation of his army as the most important consideration, and hence conducted a very cautious campaign. He handled his army well, slowing the union advance and inflicting heavier losses than he sustained. On june 27, johnston defeated sherman at the battle of kennesaw mountain, but the purely defensive victory did not prevent sherman from continuing his offensive. Critics have claimed that johnston’s strategy was entirely defensive and that his unwillingness to risk an offensive made the chance of a confederate victory impossible.Jefferson davis became increasingly irritated by this strategy and removed johnston from command on july 17, 1864, shortly before the battle of peachtree creek, just outside of atlanta. As the confederacy became increasingly concerned about sherman’s march to the sea across georgia and then north through the carolinas, the public clamored for johnston’s return. Through a request by robert e. Lee, davis reinstated him to a command called collectively the department of south carolina, georgia, and florida, and also the department of north carolina and southern virginia. These commands theoretically included three confederate armies, but they were armies in name only, undermanned and under-provisioned and johnston could do little to blunt sherman’s advance.On march 19, 1865, johnston was able to catch a portion of sherman’s army by surprise at the battle of bentonville and briefly gained some tactical successes before superior numbers forced him to retreat to raleigh, north carolina. Unable to secure the capital, johnston’s army withdrew to greensboro, north carolina, where it made its final stand.After learning of lee’s surrender at appomattox court house, johnston decided to meet with general sherman between the lines at a small farm near present day durham, north carolina, known as bennett place. After three separate days of negotiations in april 1865, johnston surrendered the army of tennessee and all remaining confederate forces still active in north carolina, south carolina, georgia, and florida. It was the largest surrender of the war, totaling 89,270 soldiers. After the war johnston settled in savannah, georgia, was president of a railroad company in arkansas, and became engaged in the general insurance business in 1868 and 1869.He returned to virginia and settled in richmond in 1877 and became president of an express company. Johnston served in the 46th congress from 1879 to 1881 as democratic congressman.He was a commissioner of railroads in the administration of united states president grover cleveland. His analysis of his activities in the civil war, narrative of military operations, published in 1874, was highly critical of davis and many of his fellow generals. Johnston, like lee, never forgot the magnanimity of the man to whom he surrendered, and would not allow an unkind word to be said about sherman in his presence. When sherman died, johnston served as a pallbearer at his funeral; during the procession in new york city on february 19, 1891, he kept his hat off as a sign of respect in the cold, rainy weather. Someone had some concern for the old general’s health and asked him to put on his hat, to which johnston replied “if i were in his place and he standing here in mine, he would not put on his hat.” he caught pneumonia and died several weeks later. He was buried in green mount cemetery, baltimore, maryland. Both in the latter years of his life and, after his death, johnsons popularity with his former confederate soldiers would become well documented. Admiration for their former commander would endure and johnson would still be well thought of by surviving confederates and their decendants.