CHICAGO (STMW) — An American Airlines flight headed to Los Angeles made an off-course landing in Chicago early Monday after the flight experienced weather-related delays in Boston.

American Airlines flight No. 223, scheduled to depart from Boston at 8:15 p.m. Sunday, was delayed due to weather and did not leave for Los Angeles until 10:52 p.m., according to airline spokeswoman Victoria Lupica.

READ MORE: Chicago Police Officer Released From Hospital After Being Shot In Shopping Center Parking Lot At North And Sheffield Avenues

But before the flight completed its trip to the west coast, it landed at O’Hare International Airport shortly after midnight, she said. The flight’s first officer had exceeded his allotted work time.

“One of the crew members, his work time had expired… We were following procedures,” Lupica said. “It was not an emergency landing, it was a planned landing.”

READ MORE: Chicago Weather: Pleasant Parade Weather Tuesday

All of the flight’s passengers were provided hotel accommodations in Chicago and the flight was rescheduled to depart from O’Hare at 7:21 a.m. Monday, she said.

“There’s a new crew and the flight is rescheduled,” Lupica said. “We apologize for any inconvenience.”

MORE NEWS: Indiana Attorney General Files Lawsuit To Crack Down On Harassing Robocalls, And Effort May Help In Illinois Too

(Source: Sun-Times Media Wire © Chicago Sun-Times 2015. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.)