Original: The city of Raleigh became both the state capital as well as the new county seat of Wake County.
Simplified: The county seat is Raleigh, which is also the state capital.