Complex sentence: Over time, however, this party not only gained political influence, but also had a major impact of Mexico's social and economic policies.
Split into simpler sentences: Over time, this party gained political influence. It also had a major impact on Mexico's social and economic policies.