If a triangle has side lengths a, b, and c, and if a^2 + b^2 = c^2, then the converse of the Pythagorean theorem says that the triangle is a(n)

A. equiangular triangle
B. scalene triangle
C. equilateral triangle
D. right triangle