 According to documentaries on the making of the film,  Charles Chaplin (qv) began to feel more uncomfortable lampooning  Adolf Hitler (qv) the more he heard of Hitlers actions in Europe.  Ultimately, the invasion of France inspired Chaplin to change the  ending of his film to include his famous speech.