Prim was actually a member of the 1st Florida U.S. Cavalry at the time of his capture and hanging. He was part of a detachment sent to assist recruits through the lines to the Union camps and also to round up horses for the regiment.
Dale