Prime Minister Theresa May has written to European Council President Donald Tusk to request a delay to the U.K.’s departure from the bloc until June 30.

May cited talks with opposition Labour Party Leader Jeremy Corbyn aimed at breaking the Brexit impasse as a reason for further delay in the letter, which was released by her office on Friday.

“It is frustrating that we have not yet brought this process to a successful and orderly conclusion,” May wrote. “The U.K. government remains strongly committed to doing so."

With her options dwindling, May is desperately seeking to get an agreement through Parliament that would allow the U.K. to leave the EU without having to take part in European elections next month. Unable to convince her allies to back her own deal -- Parliament has rejected it on three separate occasions -- she’s turned to Corbyn for help.

Tusk was earlier said to favor offering the U.K. a one-year extension to its EU membership to help the prime minister, but some governments opposed such a long delay, officials said.

Tusk, who chairs summits of EU leaders, wants the bloc to give London as long as possible to find a solution to the deadlock caused by members of Parliament failing to back the divorce deal the prime minister struck in November. The year-long extension would include an escape clause to allow the U.K. to leave the EU early when the deal is approved.

The EU’s remaining 27 leaders, who meet May in Brussels for a summit on Wednesday, have to agree on any offer unanimously and it’ll be up to them to forge a common position. France is leading a small group of countries opposing a long extension, but officials said they don’t expect any leader to veto a delay outright. May will write to Tusk requesting a delay on Friday, a U.K. official said.

The EU has previously said any long extension would be conditional on a “clear plan” for the way forward, or a political “event” such as another referendum or general election. But officials say May’s efforts to form a cross-party position with opposition Labour Party Leader Jeremy Corbyn and pledge to hold votes in Parliament on the desired outcome will probably be enough.

Without an agreement at the EU summit, the U.K. would leave the bloc on April 12 if Parliament doesn’t approve the deal before then. If an extension lasts beyond May 22, the U.K. would be obliged to participate in elections to the European Parliament.