The FBI and other federal agents burst into the wrong Boston hotel room Tuesday night during a training exercise, startling the guest inside who had no idea what was going on as he was handcuffed. 

The incident occurred on the 15th floor of the Revere Hotel as agents were conducting a mock investigation. FBI agents were assisting the U.S. Department of Defense in a training exercise inside the hotel to simulate a situation that DOD personnel might encounter in a deployed environment. 

MASSACHUSETTS GOV. HEALY CREATES ‘LATINO EMPOWERMENT’ COUNCIL

Boston Revere Hotel

The Revere Hotel in Boston. Federal agents targeted the wrong room inside the hotel Tuesday during a training exercise.  (Google Maps)

"Based on inaccurate information, they were mistakenly sent to the wrong room and detained an individual, not the intended role player," the FBI said in a statement. 

The agents targeted room 1505, where a Delta Air Lines pilot was sleeping inside and opened the door, WBZ-TV reported. 

When agents went in, they handcuffed the man, who is in his 30s, before interrogating him and putting him in the shower, the news report said. 

They eventually realized the mistake and apologized. 

"First and foremost, we’d like to extend our deepest apologies to the individual who was affected by the training exercise," Lt. Col. Mike Burns of the United States Special Operations Command told Fox News Digital in a statement. "The training team, unfortunately, entered the wrong room and detained an individual unaffiliated with the exercise."

Hotel security was alerted to the incident and called the Boston Police Department. 

"We are looking into reports of an alleged incident in Boston that may involve Delta people," the airline told Fox News Digital in a statement. "We have nothing further to share at this time other than to reaffirm our commitment to ensuring the safety and well-being of our people."

Fox News Digital has reached out to the hotel.

CLICK HERE TO GET THE FOX NEWS APP

"Safety is always a priority of the FBI, and our law enforcement partners, and we take these incidents very seriously," the FBI said. "The Boston Division is reviewing the incident with DOD for further action as deemed appropriate."