Washington (6-7) took over sole possession of the NFC East with a 23-15 win over the San Francisco 49ers.