A condition ensuring diagonalizability

Suppose F is a field and A is an n×n matrix over F. Suppose further that A possesses distinct eigenvalues λ1 and λ2 with dimNull(Aλ1In)=n1. Prove A is diagonalizable.