the following year he astutely captured the city of forli