Complex sentence: In 2009, after 4,5 years in power, the PS lost the European Parliament elections to the PSD, however won the general elections held on 27 September, but failed to renew the absolute majority they won in 2005.
Split into simpler sentences: In 2009, after four-and-a-half years in power, the PS lost the European Parliament elections to the PSD. However, they won the general elections held on 27 September but failed to renew the absolute majority they won in 2005.