How many years of college does a lawyer need?

4 years of undergrad to get a Bachelor's Degree, then 3 years at a law school to get their JD. Then they have to pass the state bar exam.