Total assets in municipal bond funds rose for the first time in a month even as investors withdrew for the sixth week in a row. High-yield municipals saw the first inflow since May 22.

Outflows from municipal bond funds slowed this week to $870 million after the worst three-day selloff in 25 years spurred a record-breaking $4.5 billion of outflows in the previous week. High-yield municipals saw an inflow of 141 million in the week ending on July 3, according to data from Lipper FMI.

The value of the holdings for high-yield funds rose by $501 million. Last week, they fell by $17.2 billion.

Assets for all muni funds that report their flows weekly gained for the first time since the week ending May 8, to $304 billion from $303. The previous week they fell nearly $13 billion from $315 billion.

The value of the holdings for weekly reporting funds climbed $2.4 billion. The week before, they plummeted $7.20 billion.

The four-week moving average for all municipal bond mutual funds that report their flows weekly was $2.31 billion of outflows, compared to $2.46 billion of outflows the week before.

Long-term bond funds that report their flows weekly had outflow of $201 million, marking 12 straight weeks of outflows.