ORLANDO, Fla. (AP) - While his victims texted heartbreaking last words to loved ones from the blood-drenched bathrooms, Omar Mateen apparently went on Facebook to measure the shockwaves his attack on a gay nightclub was generating.
MORE: Obama to seek healing in Orlando… Gunman on Facebook raged against 'filthy ways of the west' ... Vigil for Pulse victim Akyra Murray... Medical analysis of Patience Carter's injuries… Hearing on ISIS trying to send operatives… Active shooter response tactics… Muslim view of LGBT people in spotlight… Victims remembered for joy, love they brought... Musicians use song, statements to respond… Patience Carter's call to Good Day with update...
He searched for the terms "Pulse Orlando" and "Shooting," according to a letter released by a Senate committee.
The letter detailing Mateen's Facebook posts and searches in the final hours of his life came to light as grief-stricken Orlando prepared to bury the first of the 49 dead and awaited a visit Thursday from President Barack Obama, who planned to meet with victims' families, doctors and paramedics and offer words of solace.
Investigators, meanwhile, are trying to reconstruct Mateen's movements before the rampage at the Pulse dance club and are taking a close look at his 30-year-old Palestinian-American wife, Noor Salman, and what she may have known about the attack.
"The real muslims will never accept the filthy ways of the west," Mateen, a 29-year-old American-born Muslim, wrote on one of at least five Facebook accounts believed to be associated with him, according to the letter from Republican Sen. Ron Johnson of Wisconsin, chairman of the Senate Homeland Security Committee.
The committee sent the letter to Facebook CEO Mark Zuckerberg, asking for help uncovering the trail of hate Mateen left behind in cyberspace. Johnson did not explain how the committee obtained the information about Mateen's Facebook activity.
According to the letter, Mateen made his series of Facebook posts and searches before and during the attack. The letter did not specify what took place when. But a person familiar with the situation who was not authorized to speak publicly said the Facebook posts came moments before the attack began.
"America and Russia stop bombing the Islamic state," Mateen wrote, according to the letter.
As he did in his call to a 911 operator during the massacre, Mateen pledged his allegiance on Facebook to the leader of the Islamic State group and, in his final post, warned: "in the next few days you will see attacks from the Islamic state in the usa."
The Obama administration has said it has seen no evidence that Mateen was directed by the Islamic State.
A spokesman for the FBI did not return a call for comment, and Facebook had no immediate comment.
The three-hour rampage began at 2 a.m. and ended three hours later with Mateen being killed by a police SWAT team. The FBI said it is still gathering evidence at Pulse and analyzing cellphone location data to piece together Mateen's activities leading up to the massacre.
On Saturday night, hours before the rampage, Mateen visited Disney Springs, an outdoor restaurant, retail and entertainment complex at Walt Disney World, an official who was briefed on the case but insisted on anonymity to discuss the continuing investigation told The Associated Press.
The official said it is not clear what Mateen was up to.
Mateen's wife has gone into seclusion. U.S. Attorney Lee Bentley repeatedly refused on Wednesday to say whether charges might be brought against her or anyone else.