Mitch Evans strengthened his GP3 Series points lead by winning the second race at the Hockenheim, which was affected by two lengthy safety car periods.
Evans had started on pole but was beaten by a great start from home racer and Saturday's pole-sitter Daniel Abt.
The safety car would come out at the end of the lap following a large crash further down the order at the hairpin, in which Vicky Piria ran into the back of Robert Cregan, launching herself into William Buller, back into the air and then landing.
While Piria was given medical attention, the safety car stayed out until lap eight. At the restart, Evans got back past Abt for the lead under braking at the hairpin.
The safety car was back out two laps later, to enable Fabiano Machado to receive attention. The Brazilian driver had run wide at turn one, gone beyond the run-off area and onto the grass as he rejoined the track. A bump launched the front of his car up into the air, and upon landing he pulled off to the right-hand side.
While he was attented to by an ambulance, the safety car remained out on track until the clock ticked down and reached the 30 minute time limit.
Evans took the checkered flag as the winner, his third victory of the season. Abt was second, while Conor Daly claimed a second podium finish of the weekend after coming from seventh to third on the first lap.
Tamas Pal Kiss was fourth ahead of Finnish drivers Matias Laine and Aaro Vainio – the title contender having lost two places off the start.
A good first lap allowed Tio Ellinas to take seventh after starting tenth, while Giovanni Venturini completed the points scorers in eighth. Race one winner Patric Niederhauser lost a place to Ellinas and finished ninth, with David Fumanelli in tenth.
Marlon Stockinger, Robert Visoiu, Alex Brundle, Dmitry Suranovich, Kevin Ceccon and Ethan Ringel completed the classified finishers. Ceccon was running side-by-side with teammate Cregan and in front of Piria at the time of the first-lap incident, and was lucky to avoid contact after taking too much speed into the hairpin and spinning to a stop.
Carmen Jorda retired in the pits five laps from the finish, while Cregan had a new rear-wing fitted and rejoined the action to finish ten laps down and unclassified.
Buller, Piria, Lewis Williamson and Alice Powell were those who retired in the first-lap incident, while Antonio Felix da Costa stopped in the first sector.
Evans' win extends his lead to 18 over Vainio, with the championship back in action at the Hungaroring next weekend.