Description from Google Books:

In a land without magic, where the king rules with an iron hand, an assassin is summoned to the castle. She comes not to kill the king, but to win her freedom. If she defeats twenty-three killers, thieves, and warriors in a competition, she is released from prison to serve as the king's champion. Her name is Celaena Sardothien. The Crown Prince will provoke her. The Captain of the Guard will protect her. But something evil dwells in the castle of glass--and it's there to kill. When her competitors start dying one by one, Celaena's fight for freedom becomes a fight for survival, and a desperate quest to root out the evil before it destroys her world"--

Snippet from Google Books:

After she has served a year of hard labor in the salt mines of Endovier for her crimes, Crown Prince Dorian offers eighteen-year-old assassin Celaena Sardothien her freedom on the condition that she act as his champion in a competition to ...