Shallow to retire after 22 years