Tax Reciprocity between Md and Va...if I live in Md and sell a house in Va do I need to file the cap gain from sale with Va or Md state income tax return?

Owned house in Va since 2010 as rental.  Always filed income with Md return where I live.  However, sold house this year and there is a capital gain because of depreciation declared over past 5 years.  Do I file capital gain with Md return or should I file a Va return?