Canada just ranked as one of the best countries in the world for its democracy.

In fact, our country upped its ranks from previous years too, according to The Economist Intelligence Unit's Democracy Index for 2020

Editor's Choice: You Need To Make Over $200K & Save For 409 Months To Afford A House In This Canadian City

#5 Best country in the world for its democracy 

In the 13th edition of the Democracy Index, Canada came in at number five out of 165 independent states, along with two territories, for its full state of democracy. 

This is up from 2019 when Canada came in at number seven on the list.

According to the report, Canada was "the region’s top performer" in North America for its shift in rankings.

"There has been a reversal of fortunes in the region over the past five years, with Canada improving its standing and the US experiencing a decline," the report read.

The U.S. claimed the 25th ranking and was categorized as a "flawed democracy."

The rankings are based on five different categories including electoral process and pluralism, the functioning of government, political participation, political culture, and civil liberties.

However, 2020's ranking took a different turn as countries were mainly judged on how they behaved during the COVID-19 pandemic.

"It looks at how the pandemic resulted in the withdrawal of civil liberties on a massive scale and fuelled an existing trend of intolerance and censorship of dissenting opinion," the report read.