The modern day municipality of Imperia was created in 1923 by joining the towns of Porto Maurizio and Oneglia.