Prime Minister Benjamin Netanyahu and his main challenger Benny Gantz both claimed victory in Israel’s election on Tuesday.