As Puerto Rico tries to recoup from the devastating effects of Hurricane Maria, Dallas Mavericks guard J.J. Barea flew to his native country and dropped off needed goods, thanks to NBA team owner Mark Cuban lending an airplane for the trip. 

Barea traveled to his homeland to deliver aid and rescue family members on Cuban’s team plane, ESPN’s Tim MacMahon reported Tuesday. Barea is the NBA’s only active player who hails from Puerto Rico. He made plans to travel to his country after losing communication with his family until Sunday.

"Mark gave him our team plane," Mavericks coach Rick Carlisle told ABC News. "They loaded up a bunch of stuff, supplies, etc., to take over to Puerto Rico, and they're going to turn around and come back. He's going to take his mom and grandmother back with him, and my understanding is his dad is going to stay over there and slug it out with all of the recovery efforts."

The 59-year-old Pittsburg native took to Twitter and retweeted a Facebook video that showed workers loading supplies into his plane Monday. Cuban is financially equipped to afford several planes with a net worth of $2.7 billion, according to Celebrity Net Worth. 

In addition to owning a sports franchise and starring on ABC’s invention competition "Shark Tank," Cuban is an entrepreneur, businessman, actor, investor, philanthropist, and film and television producer. The multi-billionaire owns Magnolia Pictures, Landmark Theaters and is chairman of HDNet, an HDTV Cable Network.

Cuban started a company called Micro Solutions in 1990 that resold software. The company grew and flourished and was bought out by CompuServe for $6 million in 1995. Cuban secured $2 million from the deal and in that same year started a new sports webcasting company called Audionet. The company became Broadcast.com; and after it hired 100 employees and made $100 million in annual income, it was acquired by Yahoo in 1999 for $5.7 billion in stock.

Cuban’s generosity came after Puerto Rico had lost power due to Hurricane Maria’s relentless conditions. The country remained without power, water and means of communication after the hurricane made landfall last week as a Category 4 storm. The county experienced "a humanitarian crisis," San Juan Mayor Carmen Yulin Cruz said Tuesday, according to CNN.

This isn't Cuban’s first act of kindness, as he often donates to charities and owns one. He started in 2013 the Fallen Patriot Fund of The Mark Cuban Foundation,  which aids families of U.S. military personnel who were killed or injured during Operation Iraqi Freedom.

"I pay people's bills and help solve problems," Cuban said during a 2016 interview with Fortune. "I don't know the total or if it's a lot or a little, but I think I'm able to more readily and directly help people who need it and not pay for the commercials and administration of all the duplication that exists across charities."