But by the time she graduated high school, She was at the top of her class.
Pero cuando se graduó en la secundaria, era la mejor de su clase.
<|begin_of_text|><|start_header_id|>system<|end_header_id|>

Translate the following text into Spanish.<|eot_id|><|start_header_id|>user<|end_header_id|>

But by the time she graduated high school, She was at the top of her class.<|eot_id|><|start_header_id|>assistant<|end_header_id|>

Pero cuando se graduó en la secundaria, era la mejor de su clase.<|eot_id|>