SAN FRANCISCO (AP) — Google’s shift into artificial intelligence helped propel its corporate parent to another quarter of solid growth while a crackdown on its internet empire looms in the background.

Google parent Alphabet Inc. earned $28.2 billion, or $2.31 per share, during the second quarter, a 19 percent increase from the same time last year. Revenue climbed 14 percent from a year ago to $96.4 billion. Both figures eclipsed analysts’ projections.

“We had a standout quarter, with robust growth across the company. We are at the leading frontier of AI,” said Alphabet CEO Sundar Pichai.

Yet Google’s push into AI is forcing Alphabet to dig even deeper into its coffers to pay for the data centers, chips and other components required to power the technology, prompting the Mountain View, Calif., company to raise its budget for capital expenditures by an additional $10 billion to $85 billion.

Google’s search-driven ad revenue totaled $54.2 billion in the past quarter, a 12 percent increase from the same time last year.

Google Cloud continued to thrive in the past quarter with revenue rising 32 percent from a year ago to $13.6 billion.

The division is under pressure to deliver robust growth from investors to help justify Google’s huge investments in AI technology.