Permission to stay in the UK is normally granted for 5 years. After that time, you can apply for permission to settle in the UK permanently (known as ‘indefinite leave to remain’). You will need to have met the requirements of this immigration category throughout the whole 5 years.