Britain's Prime Minister Theresa May leaves 10 Downing Street in London, Britain November 9, 2017. REUTERS/Toby Melville

LONDON (Reuters) - Forty members of parliament from Prime Minister Theresa May’s Conservative Party have agreed to sign a letter of no-confidence in her, the Sunday Times newspaper reported.

That is eight short of the number needed to trigger a party leadership contest, the mechanism through which May could be forced from office and replaced by another Conservative.

May has been struggling to maintain her authority over her party since a snap election on June 8 which she called thinking she would win by a wide margin but instead resulted in her losing her parliamentary majority.

Divided over how to extricate Britain from the European Union and hit by multiple scandals involving ministers, May’s government has failed to assert control over a chaotic political situation that is weakening London’s hand in Brexit talks.

An earlier attempt to unseat May in the wake of her disastrous speech at the annual party conference fizzled out, but many Conservatives remain unhappy with the prime minister’s performance and talk of a leadership contest has not gone away.

May has lost two cabinet ministers in as many weeks: Michael Fallon stepped down as defense secretary after becoming implicated in a wider scandal about sexual misconduct in parliament, while Priti Patel resigned as aid minister after she was found to have had secret meetings with top Israeli officials.

In the event of a leadership contest, if a challenger defeated May he or she would take over as Conservative leader and as prime minister. A national election is not necessary for that to happen.