Milan: Carlo Ancelotti has reached an agreement to take over as Napoli coach, ending Maurizio Sarri’s three-year reign at the Serie A club, according to reports in Italy on Wednesday.

Italian Ancelotti — who was sacked by Bayern Munich last September — hammered out a deal on Wednesday after a series of meetings with Napoli president Aurelio De Laurentiis in Rome.

The pair talked late into Tuesday night and then had a three-hour meeting on Wednesday morning.

The 58-year-old Ancelotti is said to have agreed a two-year contract with an option for a third with the Serie A runners-up.

However, the official announcement may not be made until June 1 as details have to be sorted out concerning Sarri’s position, Gazzetta Dello Sport reported.

It would mark Ancelotti’s first job in Italian football since leaving AC Milan in 2009 after leading the club to a Scudetto and two Champions League titles.

The former Chelsea, Real Madrid and Bayern Munich boss is understood to have agreed a salary worth 6.5 million euro ($7.6 million, Dh28.1 million) a year with an option of a third year.

Ancelotti has won three Champions League titles as well as the league in Italy, France, Germany and England.

Ancelotti’s son Davide and his son-in-law Mino Fulco will also be on the Napoli coaching staff.

Sarri, who has spent the past three seasons at the San Paolo Stadium, has two more years remaining on his contract, which runs until 2020.

The 59-year-old former banker guided Napoli to second place in Serie A for the second time since taking over, and this season they achieved a club record 91 points in a season.