it was the end of the regency of espartero