NEW YORK (AP) — A New York City judge has dismissed a civil summons against Alex O’Keefe, a former writer for FX’s hit show “The Bear” who was removed from a commuter train in handcuffs last month following a seating dispute. O’Keefe, who is Black, has accused transit officers of targeting him over his race after another passenger complained about how O’Keefe was sitting on a Metro-North train. In a video filmed by O’Keefe that gained widespread attention online, the TV screenwriter can be heard asking officers: “You’re going to arrest the one Black dude on the train, because this white woman said she didn’t like the way I was sitting on the train?”The train didn’t appear to be full in the video.The Metropolitan Transportation Authority said police arrived after a conductor complained that O’Keefe had spread his legs across an adjacent seat on the train in violation of the rail line’s rules.

He refused officers’ directions to exit the train, the MTA said, and was placed in handcuffs, questioned on a platform and released with a summons for disorderly conduct. That summons was dismissed Tuesday by an administrative judge, a common outcome for such alleged violations.

In a video filmed outside the courthouse, O’Keefe accused the MTA of trying and failing “to make an example of me” “I was harassed and detained for sitting while Black,” O’Keefe added in a statement. “Even though this absurd case was dismissed today, I will continue to defend the civil rights of every New Yorker.”