W2's from two different states

My son, who we still claim as a dependent, had two employers in 2022.  He is still a legal resident of Minnesota, but attends college in North Dakota.  His summer job withheld MN taxes, but his job at college withheld ND taxes.  How do we file his taxes?  Do we fill out both MN and ND tax forms?