Complex sentence: Its oxide was first isolated from rare earth ores in 1878 and the element was named after the city of Stockholm.
Split into simpler sentences: Its oxide was first isolated from rare earth ores in 1878. But the element was named after the city of Stockholm.