State Sen. Adriano Espaillat was endorsed Wednesday by Gov. Andrew Cuomo, the Manhattan Democrat’s campaign announced.

The endorsement to return Espaillat to Albany comes after Cuomo backed Rep. Charlie Rangel’s successful congressional primary in June.

Espaillat in June lost his second bid to knock Rangel off the Democratic ballot line for Congress.

“I am proud to endorse Senator Adriano Espaillat for reelection,” Cuomo said in a statement. “Senator Espaillat has been a leader on housing and tenant issues and a fierce advocate for his constituents. I hope the voters of the 31st Senate District will join me in supporting Adriano, so we can continue to work together to protect affordable housing for all New Yorkers.”

Espaillat is being challenged next month by Councilman Robert Jackson, an ally of Rangel who has been critical of the governor’s stance on charter schools.

“Over two million New Yorkers are depending on us to renew and strengthen the rent laws next year, and I am thankful for the Governor’s support,” said Espaillat. “Low-income tenants in our community are spending more than 50% of their income on rent, and rising rents and landlord harassment are driving families from their homes. I am committed to building on the success we accomplished through creating the Tenant Protection Unit before more affordable housing is lost.”