Sentence 1: 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 .
Sentence 2: When Lee became a military adviser to President Jefferson Davis in early 1862 , he appointed Long as his military secretary in the rank of Colonel .
Question: Do Sentence 1 and Sentence 2 express the same meaning? Yes or No?