Even though he took the children of ORGANIZATION@1 's nobility with him as hostages , the city opened its gates when the armies of King Ladislaus IV of LOCATION@1 arrived .

But the people of the city opened the gates when the army of King Ladislaus IV of LOCATION@1 arrived .
