MADRID (AP) — A man fatally shot three people before turning his gun on himself, Portuguese police said Sunday, in what local media described as a dispute among rival pigeon racers.

Andreia Gonçalves, police commissioner in the city of Setubal, south of Lisbon, described a dispute between four men aged between 30 and 60, and said one of them had killed the others before shooting himself.

She described the deaths as “an isolated situation” related to an unresolved issue between the men.

The four dead individuals were participating in a pigeon race, Portuguese media reported from the scene, and their disagreement also centered on an illegal vegetable garden.

Portugal has restrictive gun laws but firearms are legal for hunting. Of the 80 or so annual homicides that Portugal has registered on average since 2015, around a fifth are committed with firearms, according to police statistics.