Alanna: The First Adventure is a fantasy novel by Tamora Pierce, the first in a series of four books, The Song of the Lioness. It details the start and early days of Alanna of Trebond's training as a knight, hiding her real gender.
The book, set in the fantasy kingdom of Tortall, follows Alanna's growth as a page in the royal court, where she keeps her gender a secret, while learning to fence, fight, ride, and study alongside the male pages. Alanna befriends the heir to the throne and the charming King of Thieves, copes with the magical power she possesses and her mistrust of it, faces the palace bully, struggles with her suspicions of the prince's cousin Duke Roger, and finally travels to the southern desert, where the Bazhir tribesmen guard a Black City that has invaded her dreams. There, she and her friend Prince Jonathan defeat the much-feared Ysandir, a race of demons that has kept the Black City captive for generations. In the process, Jonathan learns that Alanna is a girl. Despite this, he chooses her as his squire when he has become a knight.