Sale of investment property

I live in Maryland and sold property (raw land) in SC.  I paid capital gains tax in SC.  How do I apply for credit in MD since the taxes were paid in SC?

 

Thank you.