Once a 401k is rolled over to an IRA, it loses its pension exclusion in Maryland. The rollover makes it a traditional IRA, regardless of its original source. See first link below for reference.
There is the Senior Tax Credit and Social Security benefits exclusion available for seniors in second link below.
See part C, from Comptroller of Maryland
Senior Citizens and Maryland Income Taxes
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"