The recently re-elected mayor of the small northeastern Brazilian city of Jussiape, his wife and a councilman were gunned down by a merchant, who later died in a shootout with police, officials said.

Mayor Procopio Alencar and the other victims were killed Saturday morning in downtown Jussiape, a city about 630 kilometers (391 miles) from Salvador, the capital of Bahia state.

The gunman, identified as Claudinor Galvao de Oliveira, owned a small shop in the city and it is not known why he killed the mayor, police said.

De Oliveira first shot Jandira Alencar, the mayor's wife, after spotting her in the streets of the city.

He then went to the mayor's medical practice and shot the 75-year-old Alencar and an unidentified city councilman he was meeting with, police said.

Officers shot and killed De Oliveira in a city plaza as he apparently went looking for other people to kill, the police department said.

De Oliveira wounded two police officers in the shootout in the plaza.

Investigators have not determined the motive for the multiple murders.

Alencar, a member of the Democratic Labor Party, or PDT, won another four-year term in last month's municipal elections.

He was elected deputy mayor in 2006 but took over the mayoralty when Mayor Vagner Neves Freitas was sacked by the city council for allegedly misappropriating public funds. EFE