Updated

A person familiar with the situation says the Sacramento Kings and center DeMarcus Cousins have reached an agreement on a contract extension.

The person spoke to The Associated Press late Wednesday night on condition of anonymity because they were not authorized to speak publicly.

The Sacramento Bee reported the extension is a four-year, $64 million deal that will carry Cousins through the 2018-19 season. Cousins was eligible for an extension up to five years and $80 million.

The Kings had until Oct. 31 to come to terms on an extension or Cousins could become a restricted free agent next summer.

Cousins averaged 17.1 points and 9.9 rebounds last season. The 23-year-old center has been one of the NBA's best young big men but also one who has drawn multiple suspensions from the NBA and the Kings for his behavior.