A divided state appeals panel has dismissed a lawsuit filed by a New York City Housing Authority resident who claimed he tripped on a tree well in his complex, saying he undermined his case by changing his account of the accident almost two years after it happened.

The plaintiff, Guillermo Robles, has maintained that he initially identified the wrong tree well as the site of the accident because of misleading photographs.