An adjustment of status under the Immigration and Nationality Act (INA) Section 245 can help immigrants obtain citizenship by way of changing from nonimmigrant to immigrant status. Qualifying for adjustment usually involves, among other requirements, entering the United States legally.
If the person is a legal permanent resident then he or she will likely have more than one defense available including applying for cancellation of removal on form EOIR 42A.