If Gandalf, White Rider's owner has three or fewer cards left in their library when the last ability resolves, you may have it become the bottom card of their library.

Artwork
Loading artwork…
Gandalf, White Rider
The Lord of the Rings: Tales of Middle-earth · #290 · EN
Nonfoil—Foil—
Card rules
Vigilance
Whenever you cast a spell, creatures you control get +1/+0 until end of turn. Scry 1.
When Gandalf dies, you may put it into its owner's library fifth from the top.
3/3
He has passed through the fire and the abyss, and the enemy shall fear him.
Rare · Illustrated by Ekaterina Burmak
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
Timeless Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Pioneer Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions