Gunmen killed seven members of a family, including two children, and wounded seven others in the western Mexican state of Michoacan, officials said.

The gunmen attacked 30 members of the family Sunday night in Tuxpan, a city in the eastern part of the state, the Michoacan Attorney General's Office said.

Gunmen armed with assault rifles and pistols opened fire on the family, which had taken shelter in a house in the La Catalina area, the AG's office said.

Six males, including boys ages 10 and 14, and a woman died in the attack.

Six of the seven people wounded in the incident are girls, the AG's office said.

The family had only been living in the area for about six months and moved to Michoacan from Luvianos, a city in Mexico state, Tuxpan city officials told Efe.

Two men, meanwhile, were murdered and left hanging in front of a school in the city of Tocumbo.

The victims were apparently tortured by members of the Caballeros Templarios, a drug cartel that claimed credit for the killings in signs left near the bodies, the AG's office said.

Michoacan is one of the states where the federal government is focusing its security strategy because of the strong presence of drug traffickers.

Cartels like Los Caballeros Templarios, which was founded in March 2011 by former members of La Familia Michoacana and deals in both synthetic drugs and natural drugs, operate in the state.

The gang commits murders, stages kidnappings and runs extortion rackets that target business owners and transport companies, affecting everyday life.

Michoacan's forests and mountains are used by drug traffickers to grow marijuana and produce synthetic drugs. EFE