Crowning

You may be crowned as a result of prayer if you are at least piously aligned and extremely lucky.

You receive a title, gift of a certain weapon or spellbook, and certain intrinsics. Crowning may not be desirable if you are already well-equipped, as your prayer timeout increases.

See http://www.steelypips.org/nethack/343/crwn-343.html