Complex sentence: Alaminos began as a barrio of San Pablo City which was then only a town belonging to the province of Batangas but it was re-annexed as barrio of San Pablo which was then ceded to the province of Laguna in 1902.
Split into simpler sentences: Alaminos began as a barrio of San Pablo City, which was then only a town belonging to the province of Batangas. It was re-annexed as barrio of San Pablo which was then ceded to the province of Laguna in 1902.