It will be shown that a given realization of nonlinear electrodynamics, used
as source of Einstein's equations, generates a cosmological model with
interesting features, namely a phase of current cosmic acceleration, and the
absence of an initial singularity, thus pointing to a way to solve two
important problems in cosmology