The Grenztruppen's main role was preventing Republikflucht, the illegal migration from the GDR, and were controversially responsible for many deaths at the Berlin Wall. At least 29 border guards were killed in the line of duty, and many faced criminal charges after German Reunification.