The law firm that leaked celebrated author J.K. Rowling’s pen name is paying for its mistake.

Last month, London-based Russells, which has done work for Rowling, admitted that one of its partners, Chris Gossage, told his wife’s best friend that the “Harry Potter” creator was the true author behind “The Cuckoo’s Calling,” a detective story that was billed as the debut novel from Robert Galbraith. The wife’s friend then used Twitter to tip a Sunday Times columnist about the news.

Rowling sued Gossage and his wife’s friend, saying she was “very angry” that Russells had broken her trust. Russells apparently took her disappointment to heart. The firm recently announced that it would reimburse Rowling’s legal costs and make a “substantial” donation to The Soldiers’ Charity, which helps former military personnel and their families. Rowling also announced that she would donate all royalties from the book for the next three years to the charity.

Read Entertainment Weekly and the Los Angeles Times for more information.

For more entertainment news from InsideCounsel, read:

Marvel can keep rights to the Fantastic Four and other comic book characters

Millennium Films wins copyright suit over “Lovelace”

10 ex-“American Idol” contestants sue show for racism

Rihanna sues Topshop for using her face on a T-shirt

London law firm admits to leaking J.K. Rowling’s pseudonym