Why was warwick castle built 3 lines please?

The Warwick Castle was built in the year 1068. The Warwick Castle was built to help William the Conqueror keep control of the midland area as he advanced. The first church was founded in the castle in 1119.