The legal battle between Brad Pitt and the residents of the New Orleans homes built by his foundation Make It Right after Hurricane Katrina has ended.

The Oscar winner has now settled with about 100 homeowners to pay more than $20 million in damages after the buildings were hit by mold and other moisture damage shortly after completion.

Eco-friendly living space

Pitt and his then-girlfriend Angelina Jolie had built more than 100 homes in the Lower Ninth Ward slum that was flooded during the 2005 hurricane.

The project, which cost almost 30 million dollars, was not only intended to create high-quality living space for mostly African-American families.

It should also contribute to environmental protection through solar energy and recycled materials.

Shortly after moving in between 2008 and 2015, however, the first signs of damage were noticeable in almost every house.

Many of the owners sued for a refund of the purchase price of around $150,000.

Although several experts complained about construction defects such as a lack of drainage and roof overhangs, Pitt had argued for years with architects, construction managers and representatives of the Make It Right Foundation about responsibility for the damage.

The mutual lawsuits are said to have been settled in the meantime.