Where a landlord takes a deposit in respect of an assured tenancy under the Housing Act 1988, there is a requirement to protect it in accordance with the provisions of the Housing Act 2004 (HA 2004), specifically HA 2004, s 213. Under HA 2004, s 214, where a tenancy deposit has been paid in connection with a shorthold tenancy on or after 6 April 2007, the tenant or any relevant person may make an application to the county court on the grounds that the requirements to protect it have not been complied with. If non-compliance is proved, the court must order the party that appears to be holding the deposit to: • repay it to the tenant or the relevant person, or • (where the tenancy is continuing)