_______ guaranteed US the rights to the ________ and spain agree to American borders

The context and missing information in your question make it difficult to provide a specific answer. However, based on the limited details provided, it seems like you might be referring to a historical event or document that guaranteed certain rights to the United States and involved an agreement with Spain.

One event that could match your description is the Adams-Onís Treaty of 1819. This treaty was between the United States and Spain and involved the settling of boundaries between the two countries. The specific details of the treaty include Spain ceding Florida to the United States and defining the western border of the United States. The agreement also affirmed American rights to navigation along the Mississippi River and established a boundary between the U.S. and Spanish territories in present-day Texas.

To get more accurate information about the particulars and the context of your question, I would suggest doing additional research on the Adams-Onís Treaty or providing more details for a more precise answer.