LOS ANGELES (AP) — The screenwriters union and Hollywood studios reached a surprise four-year tentative agreement after roughly three weeks of negotiation.

The Writers Guild of America West announced its negotiating committee's unanimous approval of the agreement with The Alliance of Motion Picture and Television Producers on X, with studios confirming the deal on their website.

“We look forward to building on this progress as we continue working toward agreements that support long-term industry stability,” the alliance's statement read.

The specific terms remain undisclosed, but they are expected to address various writers’ priorities, including enhanced health care plans and fortified protections against artificial intelligence usage. The union mentioned this deal safeguards the writers’ health plan, builds on 2023 gains, and tackles challenges related to unpaid work.

This contract agreement, extending beyond the usual three-year timeframe, necessitates approval from both the guild's board and members for ratification.

The swift agreement contrasts sharply with the previous tense negotiations three years ago, which resulted in a historic writers' strike that significantly halted operations across Hollywood.

The writers' association voted overwhelmingly in favor of this agreement targeting better compensation and extended employment duration amidst ongoing challenges posed by AI technology.

Moreover, as studios interact with various union leaders representing actors and directors whose contracts are expiring soon, there are indications of a collaborative approach emerging once again.

In the backdrop of this tentative agreement, the Writers Guild of America West also faces a prolonged strike from its staff union, which began in February over allegations of unfair labor practices, adding an extra layer of complexity to the ongoing negotiations.