Capital Gain from selling property in another state

I live in Md sold a property in WV.  Do I need to pay capital gain tax in Md?