Dirlewanger next went to Spain, where he enlisted into the Spanish Foreign Legion during the Spanish Civil War. Through Berger he transferred to the German Condor Legion where he served from 1936 to 1939 and was wounded three times. Following further intervention on his behalf by his patron Berger, he successfully petitioned to have his case reconsidered in light of his service in Spain. Dirlewanger was reinstated into the NSDAP, albeit with a higher party number (#1,098,716). His doctorate was also restored by the University of Frankfurt.