He trained at the Barcelona School of Architecture, where he was a fellow student of A. Gaudí, and graduated from there in 1878.
From the beginning he did most of his work outside Catalonia and very early on he went to live in Madrid. His first works in this city, such as the La Equitativa building (1887-1891; Alcalá, 14) and the Teatro Lírico (1901-1902; Marqués de la Ensenada) can be defined as eclectic. At the same time, he made various monuments, in Madrid, such as that to Alfonso XII (1901; Plaza de Chile). However, the work that stands out above all others is Palacio Longoria (1902; Fernando VI, 4 - Pelayo, 61; currently the headquarters of the Sociedad General de Autores), which displays a great profusion of floral decoration on the façade and is one of the most representative buildings of Modernisme in the city.