On Oct. 22, 1836, Sam Houston was inaugurated as the first constitutionally elected president of the Republic of Texas.

In 1926, Ernest Hemingway’s first novel, “The Sun Also Rises,” was published by Scribner’s of New York.

In 1928, Republican presidential nominee Herbert Hoover spoke of the “American system of rugged individualism” in a speech at New York’s Madison Square Garden.

In 1934, bank robber Charles “Pretty Boy” Floyd was shot to death by federal agents and local police at a farm near East Liverpool, Ohio.

In 1962, in a nationally broadcast address, President John F. Kennedy revealed the presence of Soviet-built missile bases under construction in Cuba and announced a quarantine of all offensive military equipment being shipped to the Communist island nation.

In 1968, Apollo 7 returned safely from Earth orbit, splashing down in the Atlantic Ocean.

In 1979, the U.S. government allowed the deposed Shah of Iran to travel to New York for medical treatment — a decision that precipitated the Iran hostage crisis.

In 1981, the Professional Air Traffic Controllers Organization was decertified by the federal government for its strike the previous August.

In 1995, the largest gathering of world leaders in history marked the 50th anniversary of the United Nations.

In 2001, a second Washington, D.C., postal worker, Joseph P. Curseen, died of inhalation anthrax.

In 2014, a gunman shot and killed a soldier standing guard at a war memorial in Ottawa, then stormed the Canadian Parliament before he was shot and killed by the usually ceremonial sergeant-at-arms.

In 2016, the Chicago Cubs won their first pennant since 1945, beating the Los Angeles Dodgers 5-0 in Game 6 of the NL Championship Series. (The Cubs would go on to beat Cleveland in the World Series in seven games.)

In 2020, in the closing debate of the presidential campaign, President Donald Trump and Democratic challenger Joe Biden clashed over how to tame the raging coronavirus; Trump declared that the virus would “go away,” while Biden countered that the nation was heading toward a “dark winter.”