Home State: South Carolina
Branch of Service: Infantry
Before Sharpsburg
He enlisted as Private, Company I, 17th South Carolina Infantry, on 9 December 1861 at Camp Hampton near Columbia, SC.
On the Campaign
He was assigned to the ambulance corps at Turner's Gap on South Mountain, MD on 14 September 1862.
The rest of the War
He was elected 2nd Lieutenant on 13 January 1863 (to date from 27 November 1862) but was listed as being in arrest from 10 September 1863 into February 1864. He was charged with disorderly and unbecoming conduct for assaulting a civilian near Charleston, SC, but Colonel McMaster withdrew the charges when Ogburn resigned his commission on 12 March 1864.
References & notes
His service from his Compiled Service Records, with his status at "Boonsboro" from Colonel McMaster's list for the 17th South Carolina (Confederate States Army Casualty Lists and Narrative Reports, RG 109, NARA), online from fold3.
It's possible he's Doctor Wesley Ogburn (1835-bef. 1907); Doctor was his name, not a title.