In December 1499, the Venetians attacked Lepanto with the hope of regaining their lost territories in the Ionian Sea. Kemal Reis set sail from Cefalonia and re-took Lepanto from the Venetians. He stayed in Lepanto between April and May 1500, where his ships were repaired by an army of 15,000 Ottoman craftsmen brought from the area. From there, Kemal Reis set sail and bombarded the Venetian ports on the island of Corfu, and in August 1500 he once again defeated the Venetian fleet at the Battle of Modon. Kemal Reis bombarded the fortress of Modon from the sea and captured the town. He later engaged with the Venetian fleet off the coast of Coron and captured the town along with a Venetian brigantine. From there Kemal Reis sailed towards the Island of Sapientza  and sank the Venetian galley Lezza. In September 1500, Kemal Reis assaulted Voiussa and in October he appeared at Cape Santa Maria on the Island of Lefkada, before ending the campaign and returning to Constantinople in November. With the Battle of Modon, the Turkish fleet and army quickly overwhelmed most of the Venetian possessions in Greece. Modon and Coron, the "two eyes of the Republic", were lost. Doge Agostino Barbarigo asked the Pope and the Catholic Monarchs for help, and on 24 December a Spanish-Venetian army commanded by Gonzalo de Córdoba took Cephalonia, temporarily stopping the Ottoman offensive on eastern Venetian territories.
Question: What happened first, Agostino asked Pope for help, or Córdoba taking Cephalonia?
Answer: Agostino asked Pope for help