It is a dependent clause, specifically a subordinate clause that acts as an adverbial phrase. It modifies a verb, adjective, or another adverb by telling when something happens.
To be a complete sentence, it needs an independent clause that tells what happens until the class begins. For example:
* We will wait in the hallway until the class begins.
* Please stay quiet until the class begins.