In Maryland how many years can a person go back to amend Federal and State Income taxes?

In Maryland how many years can a person go back to amend Federal and State Income taxes?