 Complete the following phrase:  As Badis was located in the Portuguese area of influence in the North-African coast, there was conflict with the Kingdom of Portugal, but, following the Spanish assistance to the Portuguese in Arcila, King Manuel I of Portugal agreed to the Spanish conquest in late 1508; this was formally ratified and enshrined in the 1509 Treaty of Sintra. Also in 1509, after the 