It was a rough day in court on Monday for rapper Nas, who was ordered by a judge to pay more than $350,000 in back support to his ex, singer Kelis, plus her legal and accounting fees.

According to TMZ, a Los Angeles superior court judge ordered Nas to immediately pay more than $47,249 in back child support and $40,454 in back spousal support. That hefty amount was in addition to an order to pay Kelis $10,000 a month in spousal support until Nas pays off the $299,015 he already owes Kelis in support payments.

Nas, who is preparing to drop his collabo album with Damian Marley, Distant Relatives, on May 18, was also ordered to pay Kelis’ legal fees in the divorce case, which top $155,000, as well as more than $48,000 in Kelis’ accounting expenses.

Ever since the couple split just months before the birth of their first child together, Knight Jones, last summer, they have been battling it out in court over support payments. In December, a Los Angeles superior court judge ordered the rapper (born Nasir Jones) to bump up his monthly child and spousal support payments from $40,000 to $51,000, for a total of more than $600,000 a year.

Kelis released an EP called Acapella — The Remixes last week, and her album Flesh Tone is due out on July 6.