You would get the credit on your resident state- Virginia.
To help prevent payment of taxes to multiple states on the same income, Virginia law provides a credit for taxes paid to another state. If any part of your Virginia taxable income is also taxed by another state, this credit may be available to you.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"