Great news for CBBC on Tuesday night: Horrible Histories and The Sarah Jane Adventures scooped top TV awards!
Horrible Histories won the prize for best children's programme at the Royal Television Society awards in London.
Another CBBC programme, The Sarah Jane Adventures picked up the best children's drama prize.
Good news too for Simon Cowell: The X Factor won the entertainment category, while science expert Professor Brian Cox was named best presenter.
The judges said Horrible Histories was "brave, bold and clever".
And they thought The X Factor was "must-see television that everyone talks about."