Family and Domestic Violence and Leases

What about if you are moving out because of family or domestic violence?
If you lease a property with your partner and need to leave because of violence perpetrated by them, you can have your name removed from the lease with the landlord’s agreement or a Court Order.