A group of suspected cartel hit men fired gunshots at a Mexican mayor's convoy, but no one was killed or wounded, officials said.

The attack apparently targeting the mayor of the southeastern town of Solidaridad, Filiberto Martinez, occurred on a stretch of highway that links the Caribbean resort of Cancun with that city's international airport, the mayor said Wednesday at a press conference.

Individuals riding in an SUV drove up alongside the vehicle carrying the mayor's bodyguards and opened fire but did not wound anyone, police said in a report on Tuesday night's attack.

"We were attacked, they targeted my bodyguards. I was in the front vehicle. The attack was on my bodyguard's vehicle. My SUV can go in front or behind ... on this occasion I was in front and the bodyguards' vehicle was behind and the latter received the aggression," the mayor said.

Martinez said he immediately contacted Rodolfo del Angel Campos, Solidaridad's police chief, to discuss tightening security measures in the popular tourist destination of Playa del Carmen, which is part of Solidaridad and located near Cancun.

The mayor declined to speculate on any possible motives for the attack and said he will wait for the result of the investigation.

The effective action of Martinez's bodyguards in repelling the aggression enabled the mayor to escape unharmed, Angelica Araujo Lara, president of the National Federation of Municipalities of Mexico, or Fenamm, said.

A total of 27 Mexican mayors have been killed over the past five years, 19 of them victims of attacks by criminals in 2011 alone, according to Fenamm.

Elsewhere, five people were wounded in a grenade attack on a State Investigations Agency, or AEI, building in the northeastern Mexican state of Nuevo Leon, a spokesman for that entity said.

Unknown assailants launched the grenade around 9:00 p.m. Wednesday at the side of the building, located on the north side of Monterrey, Nuevo Leon's capital, the spokesman told Efe.

Five people were injured by shrapnel and received medical treatment. The injured were not identified and the spokesman did not say if they were police or ordinary civilians.

In June, that same AEI building was targeted in another grenade attack, prompting authorities to have a large wall built in front as an additional security measure.

More than 6,000 army soldiers, marines and federal police, as well as local cops, are providing security in the Monterrey metropolitan area, which has been hit by spiraling drug violence attributed to cartel turf battles over the past 18 months.

Home to many of Mexico's industrial giants, Monterrey long seemed immune to the drug war that has claimed more than 40,000 lives nationwide since December 2006, when President Felipe Calderon militarized the struggle against the cartels.

But the metropolis and its suburbs have been battered by a wave of drug-related violence since March 2010.