Complex sentence: He graduated from Charlotte Hall Military Academy and entered the U. S. Navy as a midshipman in 1826.
Split into simpler sentences: He graduated from Charlotte Hall Military Academy. He entered the Navy as a midshipman in 1826.