A Superior Court judge aggressively defended himself Monday against ethics charges for sending letters to the publisher of the Boston Herald after a jury found the newspaper had libeled the judge, in part by quoting him as saying about a 14-year-old rape victim: “Tell her to get over it.”

Superior Court Judge Ernest Murphy, who denied making the remark, said he wrote two letters to Herald Publisher Patrick Purcell after he won a $2 million judgment in 2005 because he wanted to end the case without years of appeals by the newspaper.