Like the wealthy knights of Europe, the richest and most powerful daimyo built big, beautiful castles. Both home and fortress, the castle was kept safe by high walls and moats.
It protected the daimyo and his men from enemy armies. But it also showed off his wealth and importance. A samurai castle had to be big. It was home to the daimyo, his family, and their servants. A lot of his army lived there, too.