Efficient one-pot synthesis of fluorinated benzimidazolines, benzothiazolines, benzoxazolines, and dihydrobenzoxazinones using gallium(III) triflate as a catalyst.