After taking Madrid, Napoleon chased a British army into northwestern Spain. Meanwhile, behind the lines, Spanish guerrillas waged a brutal war against the occupiers.