Simplify the following text for a Grade 9 native English-speaking person.
Original: Previously , the county had been a part of the Mississippi territory until 1817 when the area passed into the Alabama territory .
Simplified: Before this , the county had been a part of the Mississippi Territory until 1817 when the area passed into the Alabama territory