Thanks, Shyam. Q1 was a strong start to the year. Revenue growth accelerated to 21% year-over-year in the first quarter, driven by momentum in AIP and our U.S. commercial business and a reacceleration in our U.S. Government business. We delivered our sixth consecutive quarter of GAAP profitability, generating a record $106 million of GAAP net income in the first quarter.
We also delivered our fifth consecutive quarter of GAAP operating profit, generating a record $81 million of GAAP operating income in the quarter. Adjusted operating margin expanded to 36% in the first quarter continuing to highlight the strong unit economics of our business. The revenue and profitability outperformance drove a 3-point sequential increase to our Rule of 40 Score from 54 in the fourth quarter of 2023 to 57 in the first quarter of 2024. This was the third consecutive quarter of an expanding Rule of 40 Score.
Turning to our global top line results. We generated $634 million in revenue in the first quarter, up 21% year-over-year and 4% sequentially, exceeding the high end of our prior guidance.
Excluding the impact of revenue from strategic commercial contracts, first quarter revenue grew 24% year-over-year and 4% sequentially. Customer count grew 42% year-over-year and 11% sequentially to 554 customers. Revenue from our largest customers continues to expand.
First quarter trailing 12-month revenue from our top 20 customers increased 9% year-over-year to $55 million per customer.
Now moving to our commercial segment.
First quarter commercial revenue grew 27% year-over-year and 5% sequentially to $299 million.
Excluding the impact from strategic commercial contracts, first quarter commercial revenue grew 36% year-over-year and 4% sequentially. We had a very strong quarter of commercial bookings.
First quarter commercial TCV booked was $505 million, representing a 187% growth year-over-year.
Our U.S. commercial business continues to see unprecedented demand driven by momentum from AIP.
First quarter U.S. commercial revenue grew 40% year-over-year and 14% sequentially to $150 million, surpassing international commercial revenue for the first time.
Excluding revenue from strategic commercial contracts.
First quarter U.S. commercial revenue grew 68% year-over-year and 22% sequentially. AIP is driving both new customer conversions and existing customer expansions in the U.S. In the first quarter, we booked $286 million of U.S. commercial TCV, representing 131% growth year-over-year. Total remaining deal value in our U.S. commercial business grew 74% year-over-year and 14% sequentially.
Our U.S. commercial customer count grew to 262 customers, reflecting 69% growth year-over-year and 19% growth sequentially. We generated $149 million in international commercial revenue in the first quarter, representing 16% growth year-over-year but a 3% sequential decline as a result of continued headwinds in Europe and the revenue catch up in Q4 that we noted last quarter.
We continue to capitalize on targeted growth opportunities in Asia, the Middle East and beyond. Revenue from strategic commercial contracts was $24 million in the quarter. We anticipate second quarter 2024 revenue from these customers to decline to between $7 million to $9 million compared to $19 million in the second quarter of 2023.
We continue to anticipate 2024 revenue from these customers to be approximately 2% of full year revenue. Shifting to our Government segment.
First quarter government revenue grew 16% year-over-year and 3% sequentially to $335 million.
First quarter U.S. government revenue grew 12% year-over-year and 8% sequentially to $257 million.
As Ryan noted, we're excited to be the sole prime contractor under the Titan program, and we'll continue pursuing other defense opportunities. We believe we're well positioned to see growth in our U.S. government business over the course of 2024.
First quarter international government revenue grew 33% year-over-year and declined 9% sequentially to $79 million as a result of the revenue catch-up in Q4 that we noted last quarter and continued headwinds in Europe.
First quarter TCV booked was $904 million, up 128% year-over-year. Net dollar retention was 111%, an increase of 300 basis points from last quarter. The increase was driven both by expansions at existing customers and new customers acquired in Q1 of last year.
As net dollar retention does not include revenue from new customers that are acquired in the past 12 months, it does not yet fully capture the acceleration of velocity in our U.S. commercial business over the past year. We ended the first quarter with $4.1 billion in total remaining deal value, an increase of 22% year-over-year and 6% sequentially and $1.3 billion in remaining performance obligations, an increase of 39% year-over-year and 5% sequentially.
As a reminder, RPO is primarily comprised of our commercial business, as it does not take into account contracts with an initial term of less than 12 months and contractual obligations that fall beyond termination for convenience clauses, both of which are common in most of our government business.
Turning to margin and expense. Adjusted gross margin, which excludes stock-based compensation expense, was 83% for the quarter. Adjusted income from operations, which excludes stock-based compensation expense and related employer payroll taxes was $226 million, representing an adjusted operating margin of 36% and marking the sixth consecutive quarter of expanding adjusted operating margins. Q1 adjusted expense was $408 million, up 2% sequentially and 2% year-over-year.
Turning to the balance of the year.
Given our conviction in the U.S. business, coupled with our margin expansion, we intend to boost investment in resources in the U.S., including an AIP and specific defense opportunities.
While we expect expenses to ramp starting in Q2 through the back half of the year, we remain focused on calibrating expense growth below revenue growth for the full year in order to continue delivering on our goal of sustained GAAP profitability and GAAP operating income. In the first quarter, we generated GAAP operating income of $81 million, representing a 13% margin, our fifth consecutive quarter of GAAP operating income and fourth consecutive quarter of expanding GAAP operating margins. We generated first quarter GAAP net income of $106 million, representing a 17% margin, our sixth consecutive quarter of GAAP profitability.
First quarter adjusted earnings per share was $0.08 and GAAP earnings per share was $0.04.
Additionally, our combined revenue growth and adjusted operating margin accelerated to 57% in the first quarter, a 3-point increase to our Rule of 40 Score from the prior quarter.
We will continue to strive to maintain this exceptional balance of top and bottom line performance.
Turning to our cash flow. In the first quarter, we generated $130 million in cash from operations and $149 million in adjusted free cash flow, representing a margin of 20% and 23%, respectively. In Q1, we also repurchased approximately 0.5 million shares as part of our share repurchase program.
As of the end of the quarter, we have approximately 990 million remaining of the original authorization. We ended the quarter with $3.9 billion in cash, cash equivalents and short-term U.S. treasury securities. We retain access to additional liquidity of up to $500 million through our revolving credit facility, which remains entirely undrawn.
Now turning to our outlook.
For Q2 2024, we expect revenue of between $649 million and $653 million and adjusted income from operations of between $209 million and $213 million.
For full year 2024, we are raising our revenue guidance to between $2.677 billion and $2.689 billion.
We are raising our U.S. commercial revenue guidance to an excess of $661 million, representing a growth rate of at least 45%.
We are raising our adjusted income from operations guidance to between $868 million and $880 million.
We continue to expect adjusted free cash flow of between $800 million and $1 billion, and we continue to expect GAAP operating income and net income in each quarter of this year. With that, I'll turn it over to Alex for a few remarks, and then Ana will kick off the Q&A.