In this video Seedy is explaining the necessary requirements in order somebody to get a permanent permit of residence in Germany.
The requirements are described in the Law of the German state, under a specific paragraph (paragraph 25) and it is called:
§ 25 Aufenthalt aus humanitären Gründen
Image for the placeholder by Lumu from wikimedia /CC