CHEYENNE, Wyo. (AP) — A federal judge has dismissed a lawsuit by a Cheyenne attorney who says he was improperly fired from the Wyoming Public Defender's Office. Dion Custis says he asked that his gender-discrimination lawsuit be dismissed because it was taking up too much of his time.

Custis contended in his lawsuit that office director Diane Lozano fired him after he ended their five-year relationship. He worked at the public defender's office from 1994-2011.

Lozano's office noted that Custis testified during a Wyoming State Bar hearing that he was fired for unrelated ethical violations for which the Wyoming Supreme Court later censured him.

U.S. District Judge Nancy Freudenthal granted the dismissal on Tuesday.