sentence1: 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 .
sentence2: When Lee became the military adviser to President Jefferson Davis in early 1862 , he appointed Long as his military secretary with the rank of colonel .