I would typically say up to level 4 because FL is a core subject area.
My daughter’s HS strongly encouraged 4 years of FL but she ended up having a conflict between math and FL. As a prospective engineering students, she opted to take math. As such, she only reached DE Spanish III but her guidance counselor wrote about the conflict in the LOR. The GC wouldn’t have done that if it was a personal choice.