To militate against the possibility of his election.
To militate in favor of a particular result.
Does the word "militate" mean the same thing in the above two sentences?
the same meaning