Complex sentence: In 1783 the United States made peace with, and gained recognition from, the British monarchy, and in 1784 the first American ship was seized by pirates from Morocco, which had been the first independent nation to recognize the United States, in 1778.
Split into simpler sentences: In 1783 the United States made peace with, and gained recognition from, the British monarchy, and in 1784 the first American ship was seized by pirates from Morocco. Morocco had been the first independent nation to recognize the United States, in 1778.