Sentence 1: He was elected on the American ticket to the 29th United States Congress , holding office from March 4 , 1845 , to March 3 , 1847 .
Sentence 2: He was elected on the American ticket to the 29th United States Congress , which operates from March 4 , 1845 to March 3 , 1847 .
Question: Do Sentence 1 and Sentence 2 express the same meaning? Yes or No?