ALBANY – Rapper Remy Ma was not denied a fair trial when a judge barred her attorney during his summation from implicating her victim for allegedly brandishing a gun as the two women argued over $3,000, the state Court of Appeals decided yesterday.

The 5-2 ruling upheld the eight-year sentence that the Grammy-nominated rapper, whose given name is Reminisce Smith, received for her conviction of two counts of assault, attempted coercion and weapon possession.