Retired general Otto Perez was sworn in Saturday as president of Guatemala, assuming power in a country awash in drug-related violence that he has promised to tackle with the military's help.
A veteran of a bloody war against leftist insurgents, Perez, 61, is the first military man to rule Guatemala since the armed forces handed over power to civilians 25 years ago.
He replaced social democrat Alvaro Colom, receiving the sash of office for a four-year term in a ceremony at a sports complex south of the capital attended by presidents of neighboring Latin American countries and other dignitaries.
Some 2,000 police, backed by the military, took up positions around the capital, and bomb squads and elite units were stationed at the site of the swearing-in ceremony.
In a chilling reminder of the challenges facing Perez, a recently re-elected member of Guatemala's congress, Valentin Leal, was gunned down in the historic center of Guatemala City on Friday by assassins on motorbikes.
The Central American country has on average 18 murders a day, six times the world average, and has seen large swaths of its territory penetrated by drug cartels using Guatemala as a transit point on their smuggling routes out of South America.
Los Zetas, a Mexican drug gang notorious for its violence, is believed to be particularly active here with officials blaming it for 40 percent of the killings in the country.
Perez campaigned on a promise to confront the cartels head on, deploying the Guatemalan military against them, much as Mexico's President Felipe Calderon has in his country, with mixed success.
"We are going to use elite army units so that they help Guatemalans achieve the security we deserve, waging a frontal battle against the drug trafficking cartels," he said.
He has vowed to show results in his first six months in office, and to cut in half the murder rate -- currently one of the world's highest at 38 per 100,000 inhabitants -- by the end of his term.
Perez planned to meet Calderon and Colombia's President Juan Manuel Santos on the sidelines of his inauguration, and said he was happy they were attending "because both countries have been emblems of the fight against terrorism."
Human rights groups say, however, that Perez must also strengthen the rule of law in Guatemala, where the United Nations set up a special commission in 2006 to investigate serious crimes because the security forces had been so deeply penetrated by crime groups.
Perez has had to defend his own record as a military commander during a 1960-1996 civil war that was notable for massacres of Indian villagers during brutal counter-insurgency campaigns in the country's highlands.
Perez, who represented the military in negotiating a peace accord that ended the conflict in 1996, has denied accusations that rights abuses took place under his command in El Quiche.
The former general also faces daunting problems on the economic front, inheriting a state headed for insolvency and with half the country's 14.5 million people living in poverty.
He has said he will sharply increase taxes but Perez must deal with a divided one-chamber Congress where his Patriotic Party has 54 of 158 seats. Colom's National Unity of Hope party has 47 seats.