Israel began rounding up the Hamas legislators in the West Bank after Palestinian militants , including the armed wing of Hamas , captured an Israeli soldier on June 25 and took him into the Gaza Strip .