This deal with the Executive Office of Housing and Livable Communities will keep the townhomes as affordable housing for the next 50 years.