How long do patents last?

Patent protection lasts for up to 20 years providing you keep paying the renewal fees. (Most countries)