David Johnson was an American lawyer, judge and politician who served as the 62nd governor of South Carolina. Born in Virginia and educated in South Carolina, Johnson had an extensive career as a lawyer and judge before being elected to a two year term as governor by the South Carolina General Assembly in 1846. His gubernatorial administration coincided with the Mexican–American War and the accompanying heated debate over the status of slavery in the territory taken from Mexico in the war.