Comments: 58 pages; version accepted for publication in J. Amer. Math. Soc.; minor corrections based on referees' reports; results and proofs are not changed
We prove that Bernoulli convolutions are absolutely continuous provided the parameter lambda is an algebraic number sufficiently close to 1 depending on the Mahler measure of lambda.