Insolvency Act 2006, s 290
You are usually discharged from bankruptcy automatically after three years.