Have you been married to or in a civil partnership with a German citizen for 3 years? Then you can obtain a permanent settlement permit if you meet other requirements.
Unfortunately this specification of service has not yet been completely translated.