ORLANDO, FL – Authorities believe the gunman who killed 49 people at Orlando’s Pulse nightclub conducted surveillance trips at both the club and a Disney entertainment and shopping complex this month, a law enforcement official said Tuesday.

Omar Mir Seddique Mateen’s visits at Pulse and Disney Springs happened between June 1 and June 6, said the official, who has knowledge of the investigation. The number of visits to each venue was not specified.

The dates coincided with Gay Days 2016 celebrations taking place at Walt Disney World and other Orlando locations between May 31 and June 6.

Investigators believe the visits were intended to surveil the locations, based on information learned in interviews.

The visits also came in the same time period when Mateen was purchasing the weapons used in Sunday morning’s nightclub attack.

The day before that rampage — the deadliest mass shooting in U.S. history — Mateen spent several hours at Disney Springs, formerly known as Downtown Disney, law enforcement officials said. Authorities said they believe Mateen was alone at that time.

Disney security officials have told the FBI they believe that Mateen made another visit to Disney World on April 26 to conduct reconnaissance, the law enforcement official said. The FBI is investigating that possibility.

Investigators don’t know whether Mateen’s wife, who was with him on the Disney World visit, knew or suspected at the time about her husband’s intent, the official said.