What degree in college did John Tyler get?

Tyler graduated from William and Mary's College. I would guess he got an AB degree.