Non-EEA (European Economic Area) foreigners may reside in Poland based on, among others, a Schengen C visa. This visa allows a stay of up to 90 days within a 180-day period, counted from the date of entry, similar to the visa-free regime.
Another type is the National D visa, a long-term visa permitting multiple entries and exits to and from Poland, with a maximum validity of 365 days. The exact number of days granted depends on the individual decision of the consul.