A MP has apologised for hacking into Harriet Harmans website.
Kemi Badenoch carried out the foolish prank more than ten years ago, before she was elected to parliament.
It is understood to relate to an incident where a fake blog was posted on the Labour MPs site saying she had defected to the Tories.
Ms Badenoch admitted it in an interview when asked what the naughtiest thing she had ever done was (a reference to Theresa May saying the worst thing she had ever done was run through a field of wheat).
The Tory MP for Saffron Walden, in Essex, replied: About 10 years ago I hacked into… a Labour MPs website and I changed all the stuff in there to say nice things about Tories.
This evening Harriet Harman tweeted that Ms Badenoch had written to me apologising. I have accepted her apology.
Ms Badenoch did not reveal the identity of the MP in the interview clip obtained by the Mail on Sunday, but people had speculated it could be Harriet Harman as the hacking made headlines when it happened in 2008, around the same time as the incident she referred to.
She told the paper: “This was a foolish prank over a decade ago, for which I apologise.”
It is understood it involved guessing a password on the website.
Tory sources stressed Ms Badenoch was not a candidate or professionally connected to the party at the time.
Ms Badenoch was elected to Parliament for the first time in last years General Election.