Yes, Niemöller was a pacifist later in his life. He came to believe that violence was never the answer, and that the only way to achieve peace was through nonviolence. He was imprisoned by the Nazis for his beliefs, but he never gave up hope for a better world.
Unforgotten Voices: The Life and Legacy of Martin Niemöller