Complex sentence: In 2010, she won the Republican nomination for the United States Senate in California but lost the general election to incumbent Democrat Barbara Boxer.
Split into simpler sentences: In 2010, she won the Republican nomination for the United States Senate in California. She lost the general election to incumbent Democrat Barbara Boxer.