Notice Period For Wales

Hi

Can someone confirm the required notice to evict a tenant at the end of the current tenancy? The tenant signed a new contract on 1st Jun 2023 with an end date of 31st May 2024. I am correct in assuming the required period is 6 months?