  We investigate the possibility of understanding all fermion masses and
mixings within a gauged Froggatt-Nielsen framework. Continuing the work from
[J. Rathsman and F. Tellander, Phys. Rev. D \textbf{100}, 055032 (2019)] we
especially focus on a UV completion of this type of models. Independent of the
UV completion, we construct an anomaly-free two Higgs doublet model with a
gauged $U(1)_F$ flavor symmetry and three right-handed neutrinos explaining all
observed masses and mixings in the fermion sector. We then investigate two
different UV completions: one through fermions and one through scalars. The
fermion completion has low lying Landau poles in the gague couplings while the
scalar completion is viable up to the gravity scale.
