The LHCb experiment at CERN is performing powerful tests
of the Standard Model of elementary particles and their interactions,
in particular of the flavour sector.
These proceedings highlight some recent results that concern
$CP$ violation in hadronic $B$ decays.
Particular emphasis is given to the determination of the angle $\gamma$,
related to the complex phase present in the CKM matrix that describes
charged-current couplings between the six known types of quarks.
Recent measurements of $\gamma$ in $B^-\to DK^{*-}$ and $B_s^0\to D_s^\mp K^\pm$
decays both achieve a precision on $\gamma$ of around 13$^\circ$.
Together with existing measurements, the updated combined value of all LHCb measurements
is determined to be $\gamma=(64.6\pm2.8)^\circ$, in good agreement with indirect determinations.
Results on time-dependent and flavour-tagged analyses of $B^0\to D^+D^-$ and
$B_s^0\to D_s^+ D_s^-$ decays are also presented, as well as an outlook on the performance
of the newly upgraded detector and plans for a second LHCb upgrade.

