(CNN) President Donald Trump lamented on Thursday that last week's two domestic terror incidents had stopped Republican momentum ahead of the midterm elections.

Trump said the pipe bombs mailed to prominent Democratic politicians and CNN and the shooting at a Pittsburgh synagogue had taken attention away from the Republican campaign to hold on to control of Congress during the midterms.

"We did have two maniacs stop a momentum that was incredible, because for seven days nobody talked about the elections," he said during his closing remarks at a Missouri rally. "It stopped a tremendous momentum."

Trump acknowledged the human cost of the package bombs and the shooting.

"More importantly, we have to take care of our people, and we don't care about momentum when it comes to a disgrace like just happened to our country," he added. "But it did nevertheless stop a certain momentum, and now the momentum is picking up."

Read More