The Portuguese has signed a contract to June 2027.