The Fortress
Nagara Sutta  (AN 7:63)

“Monks, when a royal frontier fortress is well provided with the seven requisites of a fortress, and can obtain at will—without difficulty, without trouble—the four types of food, then it is said to be a royal frontier fortress that can’t be undone by external foes or duplicitous allies.

“And with which seven requisites of a fortress is it well provided?

“There is the case where a royal frontier fortress has a foundation post—deeply rooted, well embedded, immovable, & unshakable. With this first requisite of a fortress it is well provided for the protection of those within and to ward off those without.

“And further, the royal frontier fortress has a moat, both deep & wide. With this second requisite of a fortress it is well provided for the protection of those within and to ward off those without.

“And further, the royal frontier fortress has an encircling road, both high & wide. With this third requisite of a fortress it is well provided for the protection of those within and to ward off those without.

“And further, in the royal frontier fortress many weapons are stored, both arrows & things to be hurled. With this fourth requisite of a fortress it is well provided for the protection of those within and to ward off those without.

“And further, the royal frontier fortress has a large army stationed within—elephant soldiers, cavalry, charioteers, bowmen, standard-bearers, billeting officers, soldiers of the supply corps, noted princes, commando heroes, infantry, & slaves. With this fifth requisite of a fortress it is well provided for the protection of those within and to ward off those without.

“And further, the royal frontier fortress has a gatekeeper—wise, competent, intelligent—to keep out those he doesn’t know and to let in those he does. With this sixth requisite of a fortress it is well provided for the protection of those within and to ward off those without.

“And further, the royal frontier fortress has ramparts: high & thick & completely covered with plaster. With this seventh requisite of a fortress it is well provided for the protection of those within and to ward off those without.

“These are the seven requisites of a fortress with which it is well provided.

“And which are the four types of food that it can obtain at will, without difficulty, without trouble?

“There is the case where the royal frontier fortress has large stores of grass, timber & water for the delight, convenience, & comfort of those within, and to ward off those without. And further, it has large stores of rice & barley for the delight, convenience, & comfort of those within, and to ward off those without. And further, it has large stores of sesame, green gram, & other beans for the delight, convenience, & comfort of those within, and to ward off those without. And further, it has large stores of tonics—ghee, fresh butter, oil, honey, molasses, & salt—for the delight, convenience, & comfort of those within, and to ward off those without. These are the four types of food it can obtain at will, without difficulty, without trouble.

“When a royal frontier fortress is well provided with these seven requisites of a fortress, and can obtain at will—without difficulty, without trouble—these four types of food, then it is said to be a royal frontier fortress that can’t be undone by external foes or duplicitous allies.

“In the same way, monks, when a disciple of the noble ones is endowed with seven true qualities [saddhamma] and can obtain at will—without difficulty, without trouble—the four jhānas, heightened mental states that provide a pleasant abiding in the here & now, he is said to be a disciple of the noble ones who can’t be undone by Māra, can’t be undone by the Evil One.

“Now, with which seven true qualities is he endowed?

“Just as the royal frontier fortress has a foundation post—deeply rooted, well embedded, immovable, & unshakable—for the protection of those within and to ward off those without; in the same way a disciple of the noble ones has conviction, is convinced of the Tathāgata’s awakening: ‘Indeed, the Blessed One is worthy & rightly self-awakened, consummate in clear-knowing & conduct, well-gone, an expert with regard to the cosmos, unexcelled trainer of people fit to be tamed, teacher of devas & human beings, awakened, blessed.’ With conviction as his foundation post, the disciple of the noble ones abandons what is unskillful, develops what is skillful, abandons what is blameworthy, develops what is blameless, and looks after himself with purity. With this first true quality is he endowed.

“Just as the royal frontier fortress has a moat, both deep & wide, for the protection of those within and to ward off those without; in the same way, the disciple of the noble ones has a sense of shame. He feels shame at (the thought of engaging in) bodily misconduct, verbal misconduct, mental misconduct. He feels shame at falling into evil, unskillful actions. With a sense of shame as his moat, the disciple of the noble ones abandons what is unskillful, develops what is skillful, abandons what is blameworthy, develops what is blameless, and looks after himself with purity. With this second true quality is he endowed.

“Just as the royal frontier fortress has an encircling road, both high & wide, for the protection of those within and to ward off those without; in the same way, the disciple of the noble ones has a sense of compunction. He feels compunction at (the suffering that would result from) bodily misconduct, verbal misconduct, mental misconduct. He feels compunction at falling into evil, unskillful actions. With a sense of compunction as his encircling road, the disciple of the noble ones abandons what is unskillful, develops what is skillful, abandons what is blameworthy, develops what is blameless, and looks after himself with purity. With this third true quality is he endowed.

“Just as the royal frontier fortress has many weapons stored, both arrows & things to be hurled, for the protection of those within and to ward off those without; in the same way, the disciple of the noble ones has heard much, has retained what he has heard, has stored what he has heard. Whatever teachings are admirable in the beginning, admirable in the middle, admirable in the end, that—in their meaning & expression—proclaim the holy life that is entirely perfect, surpassingly pure: Those he has listened to often, retained, discussed, accumulated, examined with his mind, and well-penetrated in terms of his views. With learning as his weapons, the disciple of the noble ones abandons what is unskillful, develops what is skillful, abandons what is blameworthy, develops what is blameless, and looks after himself with purity. With this fourth true quality is he endowed.

“Just as the royal frontier fortress has a large army stationed within—elephant soldiers, cavalry, charioteers, bowmen, standard-bearers, billeting officers, soldiers of the supply corps, noted princes, commando heroes, infantry, & slaves—for the protection of those within and to ward off those without; in the same way a disciple of the noble ones keeps his persistence aroused for abandoning unskillful mental qualities and taking on skillful mental qualities, is steadfast, solid in his effort, not shirking his duties with regard to skillful mental qualities. With persistence as his army, the disciple of the noble ones abandons what is unskillful, develops what is skillful, abandons what is blameworthy, develops what is blameless, and looks after himself with purity. With this fifth true quality is he endowed.

“Just as the royal frontier fortress has a gatekeeper—wise, competent, intelligent—to keep out those he doesn’t know and to let in those he does, for the protection of those within and to ward off those without; in the same way a disciple of the noble ones is mindful, endowed with excellent proficiency in mindfulness, remembering & able to call to mind even things that were done & said long ago. With mindfulness as his gatekeeper, the disciple of the noble ones abandons what is unskillful, develops what is skillful, abandons what is blameworthy, develops what is blameless, and looks after himself with purity. With this sixth true quality is he endowed.

“Just as the royal frontier fortress has ramparts—high & thick & completely covered with plaster—for the protection of those within and to ward off those without; in the same way a disciple of the noble ones is discerning, endowed with discernment leading to the arising of the goal—noble, penetrating, leading to the right ending of stress. With discernment as his covering of plaster, the disciple of the noble ones abandons what is unskillful, develops what is skillful, abandons what is blameworthy, develops what is blameless, and looks after himself with purity. With this seventh true quality is he endowed.

“These are the seven true qualities with which he is endowed.

“And which are the four jhānas—heightened mental states that provide a pleasant abiding in the here & now—that he can obtain at will, without difficulty, without trouble?

“Just as a royal frontier fortress has large stores of grass, timber & water for the delight, convenience, & comfort of those within, and to ward off those without; in the same way the disciple of the noble ones, quite secluded from sensuality, secluded from unskillful qualities, enters & remains in the first jhāna—rapture & pleasure born of seclusion, accompanied by directed thought & evaluation—for his own delight, convenience, & comfort, and to alight on unbinding.

“Just as a royal frontier fortress has large stores of rice & barley for the delight, convenience, & comfort of those within, and to ward off those without; in the same way the disciple of the noble ones, with the stilling of directed thoughts & evaluations, enters & remains in the second jhāna—rapture & pleasure born of concentration, unification of awareness free from directed thought & evaluation—internal assurance—for his own delight, convenience, & comfort, and to alight on unbinding.

“Just as a royal frontier fortress has large stores of sesame, green gram, & other beans for the delight, convenience, & comfort of those within, and to ward off those without; in the same way the disciple of the noble ones, with the fading of rapture, remains equanimous, mindful, & alert, and senses pleasure with the body. He enters & remains in the third jhāna—of which the noble ones declare, ‘Equanimous & mindful, he has a pleasant abiding’—for his own delight, convenience, & comfort, and to alight on unbinding.

“Just as a royal frontier fortress has large stores of tonics—ghee, fresh butter, oil, honey, molasses, & salt—for the delight, convenience, & comfort of those within, and to ward off those without; in the same way the disciple of the noble ones, with the abandoning of pleasure & pain, as with the earlier disappearance of elation & distress, enters & remains in the fourth jhāna—purity of equanimity & mindfulness, neither pleasure nor pain—for his own delight, convenience, & comfort, and to alight on unbinding.

“These are the four jhānas—heightened mental states that provide a pleasant abiding in the here & now—that he can obtain at will, without difficulty, without trouble.

“When a disciple of the noble ones is endowed with these seven true qualities and can obtain at will—without difficulty, without trouble—these four jhānas, heightened mental states that provide a pleasant abiding in the here & now, he is said to be a disciple of the noble ones who can’t be undone by Māra, can’t be undone by the Evil One.”

See also: MN 117; SN 3:5; AN 4:28; AN 4:128; AN 4:245; AN 5:75—76; AN 6:20; AN 10:17