Fairfax County agreed on Tuesday to lend a nonprofit organization about $2.73 million to buy affordable housing for people with serious mental disabilities.

The Board of Supervisors voted to authorize the use of federal block grants and housing funds in a loan to Pathway Homes, Inc. for the purchase of 13 scattered-site homes. An additional amount of up to $125,000 was set aside to help with relocation costs.

Pathway Homes, which was founded in 1980, provides housing and other services to people with mental illness and other disabilities, according to county documents. The nonprofit serves nearly 400 adults, owns 21 properties and leases and has partnerships for 18 other properties.

The board’s vote was unanimous.