They attacked the walls from the inside, surprised the guards and opened the gate, giving the Nicaean force entry into the city.[8] The Latins were taken completely unaware, and after a short struggle, the Nicaeans gained control of the land walls.