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: Search Continues For Stacia Landon, Missing-Endangered Woman From Schaumburg

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: Iowa Man Who Had Guns At W Chicago Lakeshore Hotel 'Didn't Mean To Startle'

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: U.S. Attorney General Merrick Garland Meets With Regional Law Enforcement Leaders

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