There are several types of visas in Spain that allow the holders to stay in the country for long periods…