Complex sentence: He served as the Secretary of Navy between 1902 and 1904 and as Attorney General from 1904 until 1906.
Split into simpler sentences: He served as the Secretary of Navy between 1902 and 1904. He also served as the Attorney General from 1904 until 1906.