Auto-translated
To conquer the middle castle, you need to defeat the dungeon lords, and you won't be able to do it without losses (unless you have a ballista with chaos bolts). Once you take the middle castle, you need to quickly retreat and defend against the demons (there are some nuances to this). So, it's better to take the upper (right) castle first; there are plenty of mines there.