The sentences grammatically correct are:
Gandhi was committed to nonviolence, and he was determined to win freedom for his country without violence or confronation, if possible.
He called it nonviolent noncooperation, and it proved to be one of the keys to India's independence from Great Britain.
He called it nonviolent resistance, but the results were the same.