the square is located in the historical district of ribeira, part of the são nicolau parish. the ribeira district spreads alongside the douro river. during the middle ages, ribeira square was the site of many shops that sold fish, bread, meat and other goods.