The guerrilla attacks carried out by the Carlists were challenging for the Liberals to deal with because of the Carlists' ability to use the terrain to their benefit. All the aforementioned Liberal advantages were largely irrelevant in this kind of warfare, putting both sides on similar footing. However, the Carlist emphasis on guerilla warfare restricted the fighting to specific areas of Spain, limiting the Carlist range of action. Regardless, the suppression of Carlist guerrillas was a hazardous and costly task that required enormous amounts of manpower and resources that, in the first stages of the war, the Liberals were unable to provide. Only with the stabilization of the government under King Alfonso XII in 1874, were the Liberals able to start turning the tide of the war in their favor.