Please write a brief history of the Confederate soldier Sam Davis.
Sam Davis was a Confederate soldier who served during the American Civil War. He was born in Rutherford County, Tennessee in 1842, and grew up on a farm with his parents and eight siblings. When the Civil War broke out in 1861, Davis joined the Confederate army, enlisting in the 1st Tennessee Cavalry.

Davis quickly distinguished himself as a brave and skilled soldier, and was promoted to the rank of 1st sergeant. In late 1863, he was sent on a reconnaissance mission behind enemy lines in Tennessee. During the mission, he was captured by Union forces and accused of being a spy.

Despite intense interrogation and torture, Davis refused to give any information to the Union authorities. He was eventually sentenced to death by a military tribunal, and hanged on November 27, 1863. His last words were reportedly I would rather die a thousand deaths than betray a friend or be false to duty.

Davis became a celebrated figure in the Confederate South, and his story was immortalized in songs, poems, and stories. Today, he is still remembered as a symbol of bravery and loyalty, and his story is often used to inspire young people to stand up for their beliefs and values.