Any nonconforming building, structure, land, or other use which existed lawfully at the time of the adoption of this code and which remains nonconforming, and any such building, structure, land, or other use which shall become nonconforming upon the adoption of this code, or of any subsequent amendments thereto, may be continued subject to the regulations which follow.