When Jefferson Davis became the military adviser to President Lee in early 1862 , he appointed Long as his military secretary with the rank of colonel .
When Lee became military adviser to President Jefferson Davis at the beginning of 1862 , he appointed Long as his military secretary in the rank of Colonel .