riding coattails:

Victories by local or state politicians because of the popularity of more powerful politicians.