Who qualifies for cancellation of removal?

A nonpermanent resident can qualify for cancellation of removal if they can demonstrate that they have been in the U.S. for the last ten years, are of good moral character, have not been convicted of specified criminal offenses, and their removal would result in exceptional and extremely unusual hardship to a spouse, parent or child who is a legal permanent resident or U.S. citizen.