In accordance with Article 16a of the Basic Law (GG) of the Federal Republic of Germany, politically persecuted persons can be granted asylum in Germany.
You can find out here about the conditions that must be fulfilled in order to grant protection to refugees in accordance with the Geneva Convention on Refugees.