 Edison even suggested a Westinghouse AC generator be used in the State of New York's new electric chair.Westinghouse also had to deal with an AC rival, the Thomson-Houston Electric Company, which had built 22 power stations by the end of 1887 and by 1889 had bought out another competitor, the Brush Electric Company.Thomson-Houston was expanding its business while trying to avoid patent conflicts with Westinghouse, arranging deals such as coming to agreements over lighting company territory, paying a royalty to use the Stanley transformer patent, and allowing Westinghouse to use their Sawyer–Man incandescent bulb patent.