It is the county seat of Riley County , although it also extends into Pottawatomie County .
It is the county seat of Riley County . The city extends into Pottawatomie County .