Markings:
Beretta was one of several makers of rifles for the Italian army.
Gardone, Val Trompia, in Lombardy, Italy is the location of Beretta's headquarters and main factory.
I *assume* 1931 is the year of manufacture.
It was almost certainly used in WW II; the Mannlicher-Carcano came out in 1891 and was Italy's standard infantry rifle from then through WW II. There were a lot of variations over the years, though.