My dad was a local politician (volunteer - no pay) for decades. Won elections as Republican, Independent and as a Democrat. People knew him and voted for him.
County/state stuff is why him (and others) had to change parties over the years. Yet the clowns in town would say stuff like "he's corrupt and was bought out".
We wished! My dad drove his work van as his personal car. Name and phone number on the side, ladders on the roof and full of buckets of paint. When he was mayor and the state gave him mayor tags, he put them on his van. He told one butthead at a meeting to go out on the parking lot and look for the fancy car with mayor tags on it then come and discuss the 'kick backs' for being mayor.
Local party for politics affects state and county funding. Funny how if the county is democrat... all the democrat ran towns get road grants and all. They always seemed to run out grant money when the other towns asked. So the people in town did what they had to do to get more for the town.