Tim Farron, the leader of Britain's pro-European Union Liberal Democrat Party, has resigned after the party failed to significantly increase its support in last week's election.

Mr Farron had been criticised for running a disappointing campaign and faced repeated questions about his Christian beliefs.

"The consequences of the focus on my faith is that I have found myself torn between living as a faithful Christian and serving as a political leader," he said.

"A better, wiser person than me may have been able to deal with this more successfully, to have remained faithful to Christ while leading a political party in the current environment.

"To be a political leader - especially of a progressive, liberal party in 2017 - and to live as a committed Christian, to hold faithfully to the Bible's teaching, has felt impossible for me."

The Liberal Democrats won 12 seats in the election, up from the eight it won in 2015, disappointing some party members who expected it to do better as the only party campaigning for another referendum on whether Britain should leave the EU.

The shock came just hours after the party's openly gay home affairs spokesman Lord Paddick announced he was quitting citing "concerns about the leader's views on various issues".

Mr Farron faced criticism during the General Election campaign for failing to answer questions about his position on homosexuality.

He made clear he supported equal marriage and LGBT rights, but in a broadcast interview did not say whether or not it was a sin.

After days of pressure to clarify his stance on the issue, he finally made clear he did not believe gay sex is a sin but continued to face questions in interviews.

In his statement, Mr Farron said the continued questions over his faith showed "we are kidding ourselves" if people in Britain thought they were living in a tolerant liberal society.

"I'm a liberal to my finger tips, and that liberalism means that I am passionate about defending the rights and liberties of people who believe different things to me," he said.

"There are Christians in politics who take the view that they should impose the tenets of faith on society, but I have not taken that approach because I disagree with it - it's not liberal and it is counterproductive when it comes to advancing the gospel.

"Even so, I seem to be the subject of suspicion because of what I believe and who my faith is in.

"In which case we are kidding ourselves if we think we yet live in a tolerant, liberal society. That's why I have chosen to step down as leader of the Liberal Democrats."