State tax filing

What tax year?

Did you file a part year resident tax return for both Maryland and California for that year? 

If so, you should have only entered on the Maryland state tax return the income received while a Maryland resident and only entered on the California state tax return the income received while a California resident.