Complex sentence: San Fernando was founded in 1786 and was named after Saint Ferdinand III of Castile.
Split into simpler sentences: San Fernando was founded in 1786. It was named after Saint Ferdinand III of Castile.