Was Keturah Abraham’s wife or concubine?

Keturah was Abraham’s concubine at one time (probably before Sarah died).  After Sarah died, she became his wife.