Lawyers from Wilmer Cutler Pickering Hale and Dorr have won the dismissal of an IRS case against United Church of Christ, Sen. Barack Obama’s denomination.

The IRS initiated an investigation early this year after a speech by Obama at a 50th anniversary celebration of the church last June. It was a reference by Obama to his presidential candidacy in a talk otherwise focused on faith that caught the agency’s attention.