The cross sections for the reaction $gammagammarightarrow 4ell$ in proton--proton collisions are calculated at the LHC energies. We show that the purely electroweak process $gammagammarightarrow 4ell$ can be studied at the LHC and can constitute a background to other processes with $4ell$ or $2ell$ final states.