Deputies say a man carrying a sword tried to break into a Spartanburg County business. He was arrested shortly after.