After several years of mobile warfare, Bruce and his allies failed to hold areas that they had conquered. His army fed itself by pillaging, which caused increasing unpopularity. The pan-European Great Famine of 1315–1317 affected Ireland also, and disease became widespread in his army, causing it to shrink, and he was defeated and killed at the end of 1318 at the Battle of Faughart in County Louth.