Efforts to fight homelessness among the veteran community appear to be paying off: The number of homeless veterans was down 40% in 2016 from five years ago, according to the most recent data from Housing and Urban Development.

As of January 2016, 39,471 veterans are still homeless. Of these, 13,067 homeless veterans are also unsheltered – living on the streets, in abandoned buildings and cars.

While the latest data from HUD won’t be available until the end of the year, preliminary analysis from the Department of Veterans Affairs indicates that 53 communities, including three states — Virginia, Connecticut and Delaware — have “effectively ended” homelessness among the veteran population.

According to the U.S. Interagency Council on Homelessness, a community is said to have “effectively ended” homelessness if they have been able to provide permanent housing to all veterans within 90 days after they have been identified as homeless and have housed all veterans except for those who have refused assistance.

However, the national trend isn’t the norm in some communities, where there has been an increase in the number of homeless veterans. In Pittsfield, Mass., the number of homeless vets has grown from 70 in 2011 to 266 in 2016; Similarly, Myrtle Beach, S.C. has also seen a 180% increase in veteran homelessness.

The HUD data also provides a snapshot of overall homelessness in the United States: In January 2016, there are more than half a million homeless persons in the U.S.

Get The Brief. Sign up to receive the top stories you need to know right now. Please enter a valid email address. Sign Up Now Check the box if you do not wish to receive promotional offers via email from TIME. You can unsubscribe at any time. By signing up you are agreeing to our Terms of Use and Privacy Policy . This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. Thank you! For your security, we've sent a confirmation email to the address you entered. Click the link to confirm your subscription and begin receiving our newsletters. If you don't get the confirmation within 10 minutes, please check your spam folder.

Contact us at letters@time.com.