Sentence 1: From 1978 to 1995 in the California State Assembly and from 1995 to 2004 in the California State Senate .
Sentence 2: Johnson served in the California State Assembly from 1978 to 1995 and then served in the California State Senate from 1995 to 2004 .
Question: Do Sentence 1 and Sentence 2 express the same meaning? Yes or No?