A running mate is a person running for a subordinate position on a joint ticket during an election.
The term is usually used in reference to a prospective vice president, who the prospective president appoints sometime during the course of the election.