Gunmen killed 11 people in an apparent gangland revenge attack on a hotel and two bars in Mexico's central city of Celaya, authorities said Tuesday.

The attack late Monday claimed the lives of eight women and three men, and left another person wounded, according to the prosecutor's office in the central state of Guanajuato.

The attack was motivated by "criminal rivalry" to avenge the murder of a gang member, Guanajuato state security minister Sophia Huett said.

Map of Mexico locating the city of Celaya in the central state of Guanajuato where gunmen killed 10 people in an attack on a hotel and two bars
Map of Mexico locating the city of Celaya in the central state of Guanajuato where gunmen killed 10 people in an attack on a hotel and two bars AFP / Gustavo IZUS

The shooting took place "in a neighborhood with a history of arrests of people linked to drug dealing and homicides," she added.

Ten of the victims were found dead at the scene, while another died on the way to a hospital, the state prosecutor's office said.

Witnesses said the victims were shot, after which the attackers poured gasoline to set the establishments on fire.

They said the bodies were scattered among plastic tables and chairs, and one was lying on the sidewalk.

Police patrol outside a bar and hotel in the Mexican city of Celaya where 11 people were killed in an apparent gangland attack
Police patrol outside a bar and hotel in the Mexican city of Celaya where 11 people were killed in an apparent gangland attack AFP / MARIO ARMAS

Calling cards claiming the massacre were left behind by a criminal group, authorities said, without identifying the gang.

Guanajuato, a thriving industrial region that hosts a refinery and a major pipeline, has become one of Mexico's most violent states due to a dispute between the Santa Rosa de Lima and Jalisco New Generation cartels.

The gangs fight for control of trafficking routes for drugs and stolen fuel.

In March, the charred bodies of seven people were found abandoned in a pick-up truck in Celaya.

And in January, six members of a family were murdered in a rural community in Guanajuato state -- the fifth such attack in the municipality of Silao in four months.

Since December 2006, when the government launched a controversial military anti-drug operation, Mexico has recorded more than 340,000 murders, according to official figures.

Authorities have blamed most of the killings on organized crime.

President Andres Manuel Lopez Obrador has championed a "hugs not bullets" strategy to tackle violent crime at its roots by fighting poverty and inequality with social programs, rather than with the army.