Swelling duration of a sprained ankle

Patient: Following an ankle sprain 5 days ago, my ankle (and sometimes foot) is still quite swollen and bruised. I can walk with little pain (and sometimes without pain), but range of motion is very limited. How long does swelling typically last for a sprained ankle?