The Spanish steps were built in 1723-1725 by a design of the rather little known architect Francesco de Sanctis and were financed by French diplomat Étienne Gueffier’s bequeathed. It was built in order to link the the Trinità dei Monti church that was under the patronage of the king of France, with the Spanish square below. The long, triangular Spanish square is named after the Spanish Embassy to the Holy See. In the 17th century, the area around the embassy was even considered Spanish territory. The idea of connecting the church with the square below originates from the 17th century, when the French also planned a statue of King Louis XIV of France at the top of the staircase. This plan was never executed, due to the refusal of Pope Gregory XIII.