Portugal ranked the 3rd safest country in the world in the Global Peace Index of 2020 and 4th in 2021.