Auto assign new tickets to the agent who was the last to respond to the contact

Auto assign new tickets to the agent who was the last to respond to the contact

How can we make it so that when a recurring contact opens a new ticket, it is automatically assigned to the agent who was the last to respond to the contact?