She may well have survived an attempt to oust her as Prime Minister but Theresa May still faces serious challenges ahead.

She is safe from a leadership contest from her own side for one year but other factors remain outstanding which threaten her Premiership.

She has still to negotiate changes to her Brexit deal and then present it to Parliament.

If she loses that vote in the House of Commons she could then face a vote of no confidence as Prime Minister from Labour or she could feel she has no choice but to resign.

The result is a huge blow to the arch Eurosceptics in the Tories and a humiliation for Jacob Rees-Mogg, pictured right, , the architect of the plan to get enough letters sent to trigger the ballot.

But with more than one third of her back bench MPs stating the have no confidence in her as leader, May will face a huge challenge to assert authority over the party. Her stated intention not to stand in 2022 will also mean a Tory leadership race has effectively started.

It also scuppers the hopes of Boris Johnson, far right, who has been scheming to take over as Tory leader and Prime Minister himself.

For a Commons no confidence vote to succeed her opponents within the Tory party would have to decide if they would be willing to join Labour and the SNP MPs in a vote which would bring down the government and could lead to a General Election.

They would have rather a change of leader who becomes Prime Minister with no threat of an election that could see Tories in marginal constituencies lose their seats and Jeremy Corbyn as Prime Minister.

The Tory party has been riven by splits over Europe since Britain joined the EEC in the early 1970s.

Theresa May is the latest in a long line of Tory leaders and Prime Ministers to have faced a challenge to her position over Europe.

Margaret Thatcher had to see off rebellions in the 1980s over the Maastricht Treaty to expand the EU and her successor, John Major faced a leadership challenge of his own from the right wing Eurosceptics which led to him resigning and defeating challengers to his position.

The reason she was in this position was due to previous PM David Cameron giving in to the Eurosceptics and agreeing to a referendum going into the 2015 general election.