What type of castle is Warwick Castle?

Warwick castle was first built as a wooden motte-and-bailey castle (a castle built on a mound with a moat/dictch around it)

It was rebuilt a century after as a stone castle.