Human: When was algebra invented? Assistant: 
The first known use of algebra was in the 6th century by the Indian mathematician Brahmagupta. He used it to solve quadratic equations, which is one of the most basic forms of algebra.