What year did they start making castles?

the castles that were back in medieval started in 2012 :)