However , when the local government changed political sides , Cerdà 's plan was discarded and as the new government held a project competition which Cerdà lost .
However , when the new government changed political sides , Cerdà 's plan was rejected and when the local government held a project competition , which Cerdà lost .