During the Jewish insurgency in Mandatory Palestine, Jewish Irgun and Lehi guerrillas launched repeated attacks against British military, police, and government targets in the city. In 1946, following the King David Hotel bombing, the British carried out Operation Shark, in which the entire city was searched for Jewish militants and most of the residents questioned, during which the entire city was placed under curfew. During the March 1947 martial law in Mandatory Palestine, Tel Aviv was placed under martial law by the British authorities for 15 days, with the residents kept under curfew for all but three hours a day as British forces scoured the city for militants. In spite of this, Jewish guerrilla attacks continued in Tel Aviv and other areas under martial law in Palestine.