As he did at the federal level, petitioner offset on his 2005 New York State return, as a deduction, a capital loss resulting from thedifference between his outside tax basis and his inside tax basis in Fifth Avenue against the gain realized on the sale of the office building.