It is the county seat of Richland County , but a small portion of the city is located in Lexington County . Columbia is the county seat of Richland County , but a portion of the city extends into neighboring Lexington County .