Complex sentence: Minnesota was the second state in the Midwest, after Iowa, to legalize marriage between same-sex couples and the first in the region to do so via the legislative process.
Split into simpler sentences: Minnesota was the second state in the Midwest, after Iowa, to legalize marriage between same-sex couples. It was the first state in the Midwest to do so via the legislative process.