Complex sentence: It was mostly used to destroy German U-boats-but eventually turned out to be ineffective against them and wasn't used after the Japanese bombed Pearl Harbor.
Split into simpler sentences: It was mostly used to destroy German U-boats. It turned out to be ineffective against German U-boats and wasn't used after the Japanese bombed Pearl Harbor.