A foreigner is obliged to leave Poland before the end of the stay, to which he is entitled on the basis of a Schengen visa or a national visa and before the end of the visa’s validity period.