Iggy Azalea has settled her legal battle with ex-boyfriend Hefe Wine.

Iggy Azalea

Iggy Azalea

The 'Black Widow' hitmaker, who was blindsided when the rapper filed court documents last year, claiming he held the rights to her music and a sex tape they filmed together, reportedly reached a confidential agreement with him in court on Wednesday (08.07.15) after seven hours of deliberations.

A source told gossip website TMZ.com that the 25-year-old Australian star gave her former lover a small amount of money, adding: "He couldn't even get a Honda Accord out of it."

The blonde beauty, who is engaged to Los Angeles Lakers star Nick Young, is said to be relieved to finally be able to put the case behind her, so she can focus on her music and her upcoming wedding.

Hefe also previously claimed he and Iggy "agreed to be married" under common law in 2008 in Texas, where a man and a woman can be considered legally married if they live together in the state for any period of time and agree to tie the knot, and accused her of giving him a sexually transmitted disease (STD).

The 'Fancy' hitmaker insisted she was "really excited" to face Hefe - real name Maurice Williams - in court.

In a rant on Twitter last October, she wrote: "Since this whole 'common law divorce' thing has gone public thankfully I've had so many women support me and come fwd with info.

"i have such a great collection of witnesses now and I'm really excited to get my day in court and see justice prevail (sic)."