“Mambo Kings” star Armand Assante is so broke that he had to take a loan from a lawyer to bail out his Brazilian bombshell gal pal, who is accused of stealing from actor Josh Brolin, court records show.

Assante, 64, had to borrow nearly $2,000 to get Giselle Oliveira, 34, out of jail in January, according to the documents.

Oliveira appeared in Manhattan court Thursday saying she’s been living “the simple life” with Assante and denying the charges against her.

The curvy blonde’s lawyer, Richard Sinrod, revealed Assante’s cash-flow woes in a Jan. 27 letter to the court that explained why he hadn’t yet been reimbursed for the loan.

Sinrod, retained by Assante, did confirm a few days later that the “Gotti” actor had transferred the $1,860 to his account.

Bizarrely, Assante had helped prosecutors obtain an indictment against Oliveira, whom he dated and is shacked up with at his horse farm in upstate Orange County, the papers said.

Sinrod acknowledges in the documents that Assante agreed to testify — but only as long as his name wouldn’t be leaked to the press, which it was.

“Mr. Assante voluntarily agreed to appear before the grand jury after an understanding . . . that his name be kept out of these proceedings to protect his reputation,” Sinrod wrote, accusing prosecutors of not keeping their word.

Sinrod also raps prosecutors for demanding to know where Assante’s money came from. Assante filed for bankruptcy in 2011 and is fighting foreclosure on the 222-acre farm.