Rivera is the capital of Rivera Department of Uruguay. The border with Brazil joins it with the Brazilian city of Santana do Livramento, which is only a block away from it, at the north end of Route 5. As of the census of 2011, it is the sixth most populated city of Uruguay.