Washington (CNN) During his freewheeling, 90-minute cabinet meeting Wednesday, President Donald Trump briefly argued that the Soviet Union "was right" to invade Afghanistan in 1979 because "terrorists were going into Russia," a head-scratching aside that was widely criticized as historically inaccurate.

"Russia used to be the Soviet Union. Afghanistan made it Russia because they went bankrupt fighting in Afghanistan. Russia. So you take a look at other countries. Pakistan is there. They should be fighting," Trump said.

"But Russia should be fighting. The reason Russia was in, in Afghanistan was because terrorists were going into Russia. They were right to be there. The problem is it was a tough fight. And literally they went bankrupt. They went into being called Russia again as opposed to the Soviet Union," he added.

The Wall Street Journal editorial board reacted strongly to Trump's comments in an op-ed Friday: "Right to be there? We cannot recall a more absurd misstatement of history by an American President. The Soviet Union invaded Afghanistan with three divisions in December 1979 to prop up a fellow communist government."

The Soviet Union, which was comprised of Russia and several now independent Eastern European and Asian nations, did in fact invade Afghanistan amid Cold War tensions with the US.

Read More