MOUNDSVILLE, W.Va. — A West Virginia judge has dismissed a lawsuit brought by coal company Murray Energy against HBO host John Oliver.

A segment of Oliver’s Sunday show “Last Week Tonight” in June poked fun at Murray Energy CEO Robert Murray, who blames regulatory efforts by the Obama administration for damaging the coal industry. Oliver said the 77-year-old looked like a “geriatric Dr. Evil.”

A Circuit Court judge in Marshall County, West Virginia, ruled on Wednesday that Murray’s company failed to state a claim. The two-page ruling from Senior Judge Jeffrey Cramer was posted online by The Hollywood Reporter.

The Ohio-based company was seeking financial damages and a court order barring rebroadcasts of the segment’s “defamatory statements.”

HBO had argued the show didn’t violate Murray Energy’s rights or those of Murray.