Espanyol has named Pablo Machin as its new manager, replacing David Gallego after the club's poor start to the season.

Gallego's departure was confirmed by Espanyol on Monday and the announcement of Machin's arrival on a two-year deal followed soon after.

The club is 19th in LaLiga, though it has taken four points from two Europa League games.

"The club has taken this decision as a result of the performance of the first team and with the clear idea to redirect the current situation of the team in LaLiga," said an official statement.

Read: Barcelona sacks Victor Valdes as under-19 coach

Gallego was only appointed as head coach in June, earning promotion from Espanyol's B side when Real Betis lured Rubi away from RCDE Stadium.

Former Girona coach Machin was sacked by Sevilla in March after it suffered a shock Europa League last-16 exit to Slavia Prague.

Machin's first game in charge of Espanyol will be at home to Villarreal on October 20 and it travels to Ludogorets in the Europa League four days later.