Complex sentence: Salem officially became a city on December 31,1967, to avoid the possibility of annexation into the city of Roanoke.
Split into simpler sentences: Salem officially became a city on December 31,1967. Salem became a city to avoid the possibility of annexation into the city of Roanoke.