State tax filing

Virginia 529  -  I contributed $1500 to the Virginia 529 plan in 2019.  I had $10,000 carryover from previous years.  I turned 70 in 2019.  Am I limited to the $4,000 deduction or can I claim the full $11,500 since I'll be moving out of Virginia this year?