Foreign nationals from countries outside the EU who wish to study in Germany can apply for a residence permit.