Attosecond near-threshold photoionization in a strong laser field