Back in 2013, Mandan was named the Most Patriotic City by Rand McNally. Unfortunately, that patriotism didn't extend across the entire state of North Dakota.

In honor of Independence Day, WalletHub recently came out with a list ranking each state based on its patriotism.

To come up with their list, WalletHub looked at two separate criteria: military engagement and civic engagement. Those two criteria were then broken down even further.

For military engagement, WalletHub looked at the percent of residents who enlisted in 2013, the number of veterans per 100,000 residents, and the number of active-duty military personnel per 100,000 residents.

For civic engagement, WalletHub looked at percentage of residents who voted in the 2012 Presidential election, volunteer rate, number of Peace Corps volunteers per 100,000 residents, frequency of Google searches for American flags, and civics education requirements.

So, how does North Dakota stack up against the other 49 states? With a military engagement rank of 38 and a civic engagement rank of 24, North Dakota tied with Indiana as the 36th most patriotic state. North Dakota actually had the lowest percentage of residents enlisted in the military.

Virginia topped the list as the most patriotic state, while New York, surprisingly, was the least patriotic.

You can see read more on WalletHub's list HERE.

[WalletHub]