In this paper we study the eigenvalue sums of Dirichlet Laplacians on bounded domains. Among our results we establish an improvement of the Li-Yau bound in the presence of a constant magnetic field.