The Walton Family Foundation, the philanthropy governed by the family behind Walmart, pledged Tuesday to invest $2.2 million over the next two years in new charter schools in New York City that aim to be socioeconomically diverse.

Officials from the foundation expect the initiative to support the start of about seven mixed-income charter schools, which will be able to use the money to pay for anything from building space to teachers to technology.

The effort reflects a growing interest in New York and beyond in establishing charter schools that enroll students from a mix of backgrounds, which research suggests can benefit students and is considered one remedy to school segregation.

“We are excited to help educators and leaders on the front lines of solving one of today’s most pressing education challenges,” Marc Sternberg, the foundation’s K-12 education director and a former New York City education department official, said in a statement.

Walton has been a major charter school backer, pouring more than $407 million into hundreds of those schools over the past two decades. In New York, the foundation has helped fund more than 100 new charter schools. (Walton also supports Chalkbeat; read about our funding here.)

Some studies have found that black and Hispanic students in charter schools are more likely to attend predominantly nonwhite schools than their peers in traditional schools, partly because charter schools tend to be located in urban areas and are often established specifically to serve low-income students of color. In New York City, one report found that 90 percent of charter schools in 2010 were “intensely segregated,” meaning fewer than 10 percent of their students were white.

However, more recently, a small but rising number of charter schools has started to take steps to recruit and enroll a more diverse student body. Often, they do this by drawing in applicants from larger geographic areas than traditional schools can and by adjusting their admissions lotteries to reserve seats for particular groups, such as low-income students or residents of nearby housing projects.

Founded in 2014, the national Diverse Charter Schools Coalition now includes more than 100 schools in more than a dozen states. Nine New York City charter groups are part of the coalition, ranging from individual schools like Community Roots Charter School in Brooklyn to larger networks, including six Success Academy schools.

“There’s been a real shift in the charter school movement to think about how they address the issue of segregation,” said Halley Potter, a senior fellow at the Century Foundation, a think tank that promotes socioeconomic diversity.

The Century Foundation and researchers at Teachers College at Columbia University and Temple University will receive additional funding from Walton to study diverse charter schools, with the universities’ researchers conducting what Walton says is the first peer-reviewed study of those schools’ impact on student learning.