Charges were filed Monday against the principal of Santa Ynez Valley Union High School who was arrested last month on suspicion of driving under the influence of alcohol. 

Principal Mark Evan Swanitz, 51, has been charged by the Santa Barbara County District Attorney's Office with two misdemeanor counts of DUI, and driving with a blood alcohol content over 0.08 percent, which is the legal limit. 

Swanitz is scheduled to appear for arraignment at the Santa Maria Superior Court at 8:30 a.m. Nov. 20. 

The superintendent of Santa Ynez Valley Union High School District confirmed Wednesday that Swanitz is out of custody and has resumed his principal duties at the school. 

According to the California Highway Patrol, a crash occurred at about 4:20 p.m. Oct. 21, when Swanitz was in his 2004 Chevrolet, traveling westbound on Highway 246 before an oncoming driver, Rafael Ramos, 45, of San Juan, Puerto Rico, turned directly in front of Swanitz. 

CHP said Ramos had stopped his 2017 Hyundai facing a northerly direction in a driveway west of Skytt Mesa Drive and began to slowly accelerate and turn left. 

Ramos reportedly failed to see Swanitz's vehicle approaching on his left side and made an unsafe turn directly into the path of the Chevrolet, causing a collision, the CHP said. 

There were no injuries reported from the crash. 

During the investigation, the CHP learned that Swanitz was under the influence of alcohol and he was subsequently arrested and booked into County Jail. 

Swanitz has been the principal for eight years at Santa Ynez Valley Union High School, where he graduated with the Class of 1985 before leaving to attend college. He was also employed as the principal of Dos Pueblos High School in Santa Barbara before he was hired at SYVUHS. 

Gina Kim covers crime and courts for Santa Maria Times. Follow her on Twitter @gina_k210