Year ended March 31,
Year ended March 31,
Year ended March 31,
2019
2018
2017
Cost of revenue 
$1,684
$1,053
$1,353
Research and development  
6,199
2,555
1,873
Sales and marketing  
7,856
4,477
4,719
General and administrative  
10,215
3,649
2,349
Total share-based compensation expense
$25,954
$11,734
$10,294
11 .
share-based compensation .
as of march 31 2019 the company has four share-based compensation plans and an employee share purchase plan .
prior to the company ’ s initial public offering -ipo in november 2015 the company granted share-based awards under three share option plans which were the mimecast limited 2007 key employee share option plan -the 2007 plan the mimecast limited 2010 emi share option scheme -the 2010 plan and the mimecast limited approved share option plan -the approved plan -the 2007 plan the 2010 plan and the approved plan collectively the historical plans .
upon the closing of the ipo the mimecast limited 2015 share option and incentive plan -the 2015 plan and the 2015 employee share purchase plan -the espp became effective .
subsequent to the ipo grants of share-based awards have been made under the 2015 plan and no further grants under the historical plans are permitted .
the 2015 plan allows the compensation committee to make equity-based incentive awards to our officers employees non-employee directors and consultants .
initially a total of 5 .
5 million ordinary shares were reserved for the issuance of awards under the 2015 plan .
this number is subject to adjustment in the event of a share split share dividend or other change in our capitalization .
the 2015 plan provides that the number of shares reserved and available for issuance under the plan will automatically increase each january 1st by 5 % of the outstanding number of ordinary shares on the immediately preceding december 31 or such lesser number of shares as determined by the board of directors .
under the 2015 plan the share option price may not be less than the fair market value of the ordinary shares on the date of grant and the term of each share option may not exceed 10 years from the date of grant .
share options typically vest over 4 years but vesting provisions can vary based on the discretion of the board of directors .
the company settles share option exercises under the 2015 plan through newly issued shares .
the company ’ s ordinary shares underlying any awards that are forfeited canceled withheld upon exercise of an option or settlement of an award to cover the exercise price or tax withholding or otherwise terminated other than by exercise will be added back to the shares available for issuance under the 2015 plan .
initially a total of 1 .
1 million shares of the company ' s ordinary shares were reserved for future issuance under the espp .
this number is subject to change in the event of a share split share dividend or other change in capitalization .
the espp may be terminated or amended by the board of directors at any time .
the espp permits eligible employees to purchase shares by authorizing payroll deductions from 1 % to 10 % of his or her eligible compensation during an offering period a duration of six months .
unless an employee has previously withdrawn from the offering his or her accumulated payroll deductions will be used to purchase shares on the last day of the offering period at a price equal to 85 % of the fair market value of the shares on the first business day or last business day of the offering period whichever is lower .
share-based compensation expense recognized under the 2015 plan historical plans and espp in the accompanying consolidated statements of operations was as follows : .
in certain situations the board of directors has approved modifications to employee share option agreements including acceleration of vesting or the removal of exercise restrictions for share options for which the service-based vesting has been satisfied which resulted in additional share-based compensation expense .
the total modification expense in the years ended march 31 2019 2018 and 2017 was $ 3 .
2 million $ 0 .
5 million and $ 3 .
0 million respectively .

Question: What was the Total share-based compensation expense in 2019?
Answer: $25,954