Some countries provide for patents of addition to protect improvements to previously patented inventions.  These patents typically expire with the expiration of the underlying patent.