(CNN) Johnny Bobbitt Jr., a homeless Philadelphia ex-Marine, will get the money owed to him from a GoFundMe campaign that raised more than $400,000 for him, his attorney Chris Fallon tells CNN.

"We reached an agreement today with GoFundMe and they have agreed to make sure he will be made whole," Fallon says.

In a statement, the company said it would back the money raised:

"...Our platform is backed by the GoFundMe Guarantee, which means that in the rare case that GoFundMe, law enforcement or a user finds campaigns are misused, donors and beneficiaries are protected."

Bobbitt has now received $20,000 as part of the guarantee, which will be used to get him an apartment and food, Fallon says.

Read More