A spur castle is a type of medieval fortification that is sited on a spur of a hill or mountain for defensive purposes. Ideally, it would be protected on three sides by steep hillsides; the only vulnerable side being that where the spur joins the hill from which it projects. By contrast, a ridge castle is only protected by steep terrain on two sides.