A British MP who had been suspended from the ruling Conservative Party resigned on Saturday after admitting he had on two occasions watched pornography on his smartphone in the House of Commons.
The MP, Neil Parish, told BBC that he had committed the act “in a moment of madness."
The Conservative Party had suspended Parish on Friday after he confessed to his misdemeanour in front of parliament's standards commissioner.
Earlier he had taken the stand that he would continue as a member of parliament while an investigation was carried out.
"In the end I could see that the furore and the damage I was causing my family and my constituency association, it just wasn't worth carrying on," Parish told the BBC in an interview on Saturday.
Parish, a farmer, said the first time he had viewed the explicit material he had stumbled across it by accident when looking for tractors on a website with a similar name, and had then "watched it for a bit which I shouldn't have done".
"But my crime, most biggest crime is that on another occasion I went in a second time and that was deliberate. That was sitting waiting to vote on the side of the chamber."
Asked what had been going through his mind, he described it as "a moment of madness".
Earlier this week British media had reported that a female minister said she had seen a male colleague viewing pornographic material while sitting beside her in the Commons chamber and the same lawmaker watching pornography during a committee hearing.
"I was not proud of what I was doing," Parish said, adding that he had not intended those around him would see it.
"I am not going to defend what I did. What I did was absolutely, totally wrong … I think I must have taken complete leave of my senses."
In an interview with The Times newspaper published before his resignation, Parish's wife said she was not aware of her husband having done anything similar before and that her husband was "a lovely person".
"It was all very embarrassing," the newspaper cited Sue Parish as saying.