Complex sentence: A similar situation developed in Wales, as the electrification was not due to extend to Swansea, but it was announced in July 2012 that the line to Swansea from Cardiff would in fact be electrified.
Split into simpler sentences: A similar situation developed in Wales, as the electrification was not due to extend to Swansea. However, it was announced in July 2012 that the line to Swansea from Cardiff would in fact be electrified.