Portugal wanted to form a military base in Ceará to support the Portuguese operations in the war against the French. The first attempt with Pero Coelho de Sousa, in 1603, was not successful, and the French continued operating from Maranhão and Ibiapaba, where they had established a base in 1590. The Indians and French formed political and military alliances. In 1607, two Jesuits, Francisco Pinto and Pereira Figueira, arrived in Ceará with a mission to spy in the area of Ibiapaba. In October, that year Franciso Pinto was killed by the Indians and Pereira Filgueira returned with more information about the area and the French and Indian alliance.