Conservative MP Kemi Badenoch has apologised to Harriet Harman for hacking her website, which the former Labour minister has accepted.
The hacking was revealed during Badenoch's interview with Core Politics when she was asked about the "naughtiest" thing she's ever been involved in, the BBC reported.
The MP for Saffron Walden, who was elected last year, said: About 10 years ago I hacked into...a Labour MP's website and I changed all the stuff in there to say nice things about Tories."
She later told the Mail on Sunday the incident was "a foolish prank over a decade ago, for which I apologise."
The Mail on Sunday claimed a source had said Badenoch was able to access Harman's website by guessing the password instead of actually hacking it.
Harman said on Twitter that she's accepted a written apology over the incident, which took place before Badenoch became an MP.
Earlier this year Badenoch was given the position of the Conservative Party's vice-chairwoman for candidates.