EDITOR'S NOTE: Orlando's mayor on Monday revised the death toll in the nightclub shooting to 49, from 50. The 50th body was identified as gunman Omar Mateen.

An Indiana man armed with three assault rifles and chemicals used to make explosives was arrested in Southern California on Sunday and told police he was headed to a West Hollywood gay pride parade, officials said.

The arrest in Santa Monica of James Wesley Howell, 20, of Jeffersonville, came just a few hours after at least 50 people were shot and killed in a gay nightclub in Orlando, Florida, though police said they had found no evidence of a connection between the events.

Man told @SantaMonicaPD officer of wanting to harm Gay Pride event during arrest for weapons and explosive materials possession. — Jacqueline Seabrooks (@SantaMonicaCoP) June 12, 2016

Santa Monica Police Chief Jacqueline Seabrooks initially tweeted that Howell told officers he wanted to "do harm" at the gay pride event, but she later corrected her statement to say only that Howell said he was going to the parade, about seven miles from the scene of the arrest.

Lt. Saul Rodriguez told the Los Angeles Times the suspect told investigators that he was going to the Pride festival but said he did not make additional statements about his intentions.

"It was a misstatement," Rodriguez told the newspaper. "Unfortunately, she was given incorrect information initially, which indicated that that statement was made; however, that statement never was made. He did indicate that he was planning on going to the Pride festival but beyond anything as far as motives or his intentions that statement was never made nor did any officer receive that statement."

The LA Pride event continued as usual, albeit with increased security. Los Angeles Mayor Eric Garcetti announced the arrest at the start of the parade and struck a defiant tone.

"We are here as Angelenos, as the LGBT community and allies," he said. "And we will not shrink away, we will not be stuck in our homes, we will not go back into our closets. We're here to march, to celebrate and to mourn."

Howell was arrested around 5 a.m. after residents called police to report suspicious behavior by a man who parked his white Acura sedan facing the wrong way. When officers arrived they saw an assault rifle sitting in Howell's passenger seat, Santa Monica police Lt. Saul Rodriguez said.

That prompted them to search the whole car. They found two more assault rifles, high-capacity magazines and ammunition and a five-gallon bucket with chemicals that could be used to make an explosive device, police said.

Authorities would answer no further questions on Howell or his motives. The FBI is leading the investigation.

A Facebook page that apparently is Howell's includes photos of the white Acura he was driving in Santa Monica. The postings are unremarkable. There's no enmity toward gays or notable political activism. One post says he's signing a petition to legalize marijuana.

The page's most recent public post, from June 3, shows a photo comparing an Adolf Hitler quote to one from Hillary Clinton. An anti-Clinton, pro-Bernie Sanders photo was posted in February.

The site said Howell worked as an auditor for a company that makes air filters.

Howell was charged in October in Clark County, Indiana, with pointing a firearm at someone, and with intimidation. He made a deal with prosecutors in April to plead guilty only to the misdemeanor intimidation charge. He was given one-year prison sentence that the judge suspended in favor of strict probation that prohibited him from having weapons.

A friend of Howell's, 18-year-old Joseph Greeson, told the Associated Press that Howell's parents in Jeffersonville hadn't seen him for days and that they called Greeson's parents looking for him. Greeson told the Los Angeles Times that he and Howell are in a car club together and that Howell had a gun collection.

Greeson also said Howell harbored no ill will for gays or lesbians.

The organizers of LA Pride said in a statement before the parade that the Orlando tragedy made them all the more determined to continue with plans.

"Our brave founders made this happen to show the world who we are," the statement said. "We will be loud. We will be proud, and we will celebrate in honor of all those lost."

The Associated Press contributed to this report.

Click for more from LATimes.com.