A female passenger aboard a British Airways flight that departed from London on Tuesday morning had to be detained after she allegedly tried to open an exit door during the flight and had to be restrained, Massachusetts State Police said.

Police said they don't believe the woman's misconduct had any link to terrorism, and charged her with interfering with a flight crew. They identified her as 32-year-old Kamila Dolniak, a citizen of Poland.

Authorities said Dolniak was restrained Tuesday on British Airways Flight 213. The flight landed about 1:30 p.m., a half-hour ahead of schedule at Boston's Logan International Airport.

A clerk set bail at $1,040 for Dolniak. She had not posted bail by Tuesday evening and, as a result, was being held overnight at the state police barracks at the airport.

Dolniak is expected to be arraigned in a Boston courtroom Wednesday.

The Associated Press contributed to this report.