This question has options. Does the word "militate" have the same definition in the next two sentences?

To militate against the possibility of his election.

Politeness militated against this opinion being expressed.

Select from: [i] different meanings [ii] the same meaning
[ii]